Package org.liquibase.maven.plugins
Class MavenUi
- java.lang.Object
-
- liquibase.AbstractExtensibleObject
-
- liquibase.ui.ConsoleUIService
-
- org.liquibase.maven.plugins.MavenUi
-
- All Implemented Interfaces:
Cloneable
,ExtensibleObject
,Plugin
,UIService
public class MavenUi extends ConsoleUIService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class liquibase.ui.ConsoleUIService
ConsoleUIService.ConsoleWrapper
-
-
Field Summary
-
Fields inherited from class liquibase.ui.ConsoleUIService
MINGW64, MINTTY, MSYSTEM, TERM_PROGRAM
-
Fields inherited from interface liquibase.plugin.Plugin
PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZED
-
-
Constructor Summary
Constructors Constructor Description MavenUi(org.apache.maven.plugin.logging.Log log)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
sendErrorMessage(String message)
Send an "error" message to the user.void
sendErrorMessage(String message, Throwable exception)
Send an "error" message to the user along with a stacktrace.void
sendMessage(String message)
Send a "normal" message to the user.-
Methods inherited from class liquibase.ui.ConsoleUIService
getAllowPrompt, getConsole, getErrorStream, getOutputStackTraces, getOutputStream, getPriority, prompt, setAllowPrompt, setErrorStream, setOutputStackTraces, setOutputStream
-
Methods inherited from class liquibase.AbstractExtensibleObject
clone, describe, equals, get, get, get, getAttributes, getFieldValue, getObjectMetaData, getValuePath, has, hashCode, set, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface liquibase.ExtensibleObject
clone, describe, get, get, getAttributes, getObjectMetaData, getValuePath, has, set
-
-
-
-
Method Detail
-
sendMessage
public void sendMessage(String message)
Description copied from interface:UIService
Send a "normal" message to the user.- Specified by:
sendMessage
in interfaceUIService
- Overrides:
sendMessage
in classConsoleUIService
-
sendErrorMessage
public void sendErrorMessage(String message)
Description copied from interface:UIService
Send an "error" message to the user.- Specified by:
sendErrorMessage
in interfaceUIService
- Overrides:
sendErrorMessage
in classConsoleUIService
-
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 interfaceUIService
- Overrides:
sendErrorMessage
in classConsoleUIService
-
-