Package liquibase.ui

Class LoggerUIService

    • Constructor Detail

      • LoggerUIService

        public LoggerUIService()
    • Method Detail

      • sendMessage

        public void sendMessage​(String message)
        Description copied from interface: UIService
        Send a "normal" message to the user.
        Specified by:
        sendMessage in interface UIService
      • sendErrorMessage

        public void sendErrorMessage​(String message)
        Description copied from interface: UIService
        Send an "error" message to the user.
        Specified by:
        sendErrorMessage in interface UIService
      • sendErrorMessage

        public void sendErrorMessage​(String message,
                                     Throwable exception)
        Description copied from interface: UIService
        Send an "error" message to the user along with a stacktrace.
        Specified by:
        sendErrorMessage in interface UIService
      • getAllowPrompt

        public boolean getAllowPrompt()
        Description copied from interface: UIService
        Return current setting of allow prompt flag
        Specified by:
        getAllowPrompt in interface UIService
        Returns:
        boolean
      • prompt

        public <T> T prompt​(String prompt,
                            T valueIfNoEntry,
                            InputHandler<T> inputHandler,
                            Class<T> type)
        This implementation simply returns the default value, since it cannot prompt the user.
        Specified by:
        prompt in interface UIService
      • getStandardLogLevel

        public Level getStandardLogLevel()
      • setStandardLogLevel

        public void setStandardLogLevel​(Level standardLogLevel)
      • getErrorLogLevel

        public Level getErrorLogLevel()
      • setErrorLogLevel

        public void setErrorLogLevel​(Level errorLogLevel)