Class QvtPlugin

    • Constructor Detail

      • QvtPlugin

        public QvtPlugin()
        The constructor.
    • Method Detail

      • getDefault

        public static QvtPlugin getDefault()
        Returns the shared instance.
      • error

        public static void error​(int code,
                                 String message)
        Generates an error log for the specified plug-in, with the specified status code, message.
        Parameters:
        code - The status code for the log.
        message - The message for the log.
      • error

        public static void error​(int code,
                                 String message,
                                 Throwable throwable)
        Generates an error log for the specified plug-in, with the specified status code, message, and throwable.
        Parameters:
        code - The status code for the log.
        message - The message for the log.
        throwable - The throwable for the log.
      • error

        public static void error​(String message,
                                 Throwable throwable)
      • error

        public static void error​(Throwable throwable)
      • error

        public static void error​(String message)
      • info

        public static void info​(int code,
                                String message)
        Generates an information log for the specified plug-in, with the specified status code, message.
        Parameters:
        code - The status code for the log.
        message - The message for the log.
      • info

        public static void info​(int code,
                                String message,
                                Throwable throwable)
        Generates an information log for the specified plug-in, with the specified status code, message, and throwable.
        Parameters:
        code - The status code for the log.
        message - The message for the log.
        throwable - The throwable for the log.
      • warning

        public static void warning​(int code,
                                   String message)
        Generates a warning log for the specified plug-in, with the specified status code, message.
        Parameters:
        code - The status code for the log.
        message - The message for the log.
      • warning

        public static void warning​(int code,
                                   String message,
                                   Throwable throwable)
        Generates a warning log for the specified plug-in, with the specified status code, message, and throwable.
        Parameters:
        code - The status code for the log.
        message - The message for the log.
        throwable - The throwable for the log.
      • logDiagnostic

        public static void logDiagnostic​(Diagnostic diagnostic)
      • log

        public static void log​(int severity,
                               int code,
                               String message,
                               Throwable throwable)
      • createWarnDiagnostic

        public static Diagnostic createWarnDiagnostic​(String message)