Interface BootScriptInvokerLogger

  • All Superinterfaces:
    org.jboss.logging.BasicLogger
    All Known Implementing Classes:
    BootScriptInvokerLogger_$logger

    @MessageLogger(projectCode="WFLYCLI",
                   length=4)
    public interface BootScriptInvokerLogger
    extends org.jboss.logging.BasicLogger
    Author:
    jdenise
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void cliOutput()
      Logs an error message to advertise that CLI script output is printed.
      void doneProcessScript​(File file)
      Logs an info message to advertise that the script file processing is done.
      void errorProcessingScript​(File file)
      Logs an error message to advertise that CLI script processing failed.
      void executeCommand​(String cmd)
      Logs a debug message to advertise the command being executed.
      void processScript​(File file)
      Logs an info message to advertise that a script file is being processed.
      RuntimeException propertiesFileNotFound​(File file)
      Logs an error message to advertise that CLI script file was not found.
      IllegalStateException unexpectedCommandException​(Throwable cause, String cmd, File file)
      Logs an error message to advertise that an unexpected exception was thrown.
      IllegalStateException unexpectedErrors​(File script, File errors)
      Logs an error message to advertise that an error occurred.
      IllegalStateException unexpectedException​(Throwable cause, File file)
      Logs an error message to advertise that an unexpected exception was thrown.
      • Methods inherited from interface org.jboss.logging.BasicLogger

        debug, debug, debug, debug, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugv, debugv, debugv, debugv, debugv, debugv, debugv, debugv, error, error, error, error, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorv, errorv, errorv, errorv, errorv, errorv, errorv, errorv, fatal, fatal, fatal, fatal, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, info, info, info, info, infof, infof, infof, infof, infof, infof, infof, infof, infov, infov, infov, infov, infov, infov, infov, infov, isDebugEnabled, isEnabled, isInfoEnabled, isTraceEnabled, log, log, log, log, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, trace, trace, trace, trace, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracev, tracev, tracev, tracev, tracev, tracev, tracev, tracev, warn, warn, warn, warn, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnv, warnv, warnv, warnv, warnv, warnv, warnv, warnv
    • Field Detail

      • ROOT_LOGGER

        static final BootScriptInvokerLogger ROOT_LOGGER
        Default root logger with category of the package name.
    • Method Detail

      • processScript

        @LogMessage(level=INFO)
        @Message(id=1,
                 value="Processing CLI script %s")
        void processScript​(File file)
        Logs an info message to advertise that a script file is being processed.
        Parameters:
        file - the CLI script file.
      • errorProcessingScript

        @LogMessage(level=ERROR)
        @Message(id=2,
                 value="Error processing CLI script %s")
        void errorProcessingScript​(File file)
        Logs an error message to advertise that CLI script processing failed.
        Parameters:
        file - the CLI script file.
      • propertiesFileNotFound

        @Message(id=3,
                 value="Could not find CLI properties file %s")
        RuntimeException propertiesFileNotFound​(File file)
        Logs an error message to advertise that CLI script file was not found.
        Parameters:
        file - the CLI script file.
        Returns:
        Exception to throw.
      • cliOutput

        @LogMessage(level=ERROR)
        @Message(id=4,
                 value="CLI execution output:")
        void cliOutput()
        Logs an error message to advertise that CLI script output is printed.
      • doneProcessScript

        @LogMessage(level=INFO)
        @Message(id=5,
                 value="Done processing CLI script %s")
        void doneProcessScript​(File file)
        Logs an info message to advertise that the script file processing is done.
        Parameters:
        file - the CLI script file.
      • executeCommand

        @LogMessage(level=DEBUG)
        @Message(id=6,
                 value="Executing CLI command %s")
        void executeCommand​(String cmd)
        Logs a debug message to advertise the command being executed.
        Parameters:
        cmd - the CLI command.
      • unexpectedException

        @Message(id=7,
                 value="Unexpected exception while processing CLI commands from %s")
        IllegalStateException unexpectedException​(@Cause
                                                  Throwable cause,
                                                  File file)
        Logs an error message to advertise that an unexpected exception was thrown.
        Parameters:
        cause -
        file - CLI script file
        Returns:
        Exception to throw
      • unexpectedErrors

        @Message(id=8,
                 value="Error processing CLI script %s. The Operations were executed but there were unexpected values. See list of errors in %s")
        IllegalStateException unexpectedErrors​(File script,
                                               File errors)
        Logs an error message to advertise that an error occurred.
        Parameters:
        script - CLI script
        errors - File that contains error messages
        Returns:
        Exception to throw
      • unexpectedCommandException

        @Message(id=9,
                 value="Unexpected exception while processing CLI command %s from %s")
        IllegalStateException unexpectedCommandException​(@Cause
                                                         Throwable cause,
                                                         String cmd,
                                                         File file)
        Logs an error message to advertise that an unexpected exception was thrown.
        Parameters:
        cause -
        cmd -
        file - CLI script file
        Returns:
        Exception to throw