Package liquibase.command
Class CommandResult
java.lang.Object
liquibase.command.CommandResult
- Direct Known Subclasses:
SnapshotCommand.SnapshotCommandResult
Deprecated.
Holds results of a
LiquibaseCommand
execution, including a message and whether the command succeeded or not.-
Field Summary
-
Constructor Summary
ConstructorDescriptionDeprecated.Creates new CommandResult with succeeded=true and message="Successful"CommandResult
(String message) Deprecated.Creates new CommandResult with the given message and succeeded=trueCommandResult
(String message, boolean succeeded) Deprecated. -
Method Summary
-
Field Details
-
message
Deprecated. -
succeeded
public boolean succeededDeprecated.
-
-
Constructor Details
-
CommandResult
public CommandResult()Deprecated.Creates new CommandResult with succeeded=true and message="Successful" -
CommandResult
Deprecated.Creates new CommandResult with the given message and succeeded=true -
CommandResult
Deprecated.
-
-
Method Details
-
print
Deprecated.Return a string version of the result. Default implementation returnsmessage
but subclasses can return string versions of stored objects like Snapshots etc.- Throws:
LiquibaseException
-
LiquibaseCommand
style of command setup.