LiquibaseCommand
style of command setup.public class CommandResult extends Object
LiquibaseCommand
execution, including a message and whether the command succeeded or not.Modifier and Type | Field and Description |
---|---|
String |
message
Deprecated.
|
boolean |
succeeded
Deprecated.
|
Constructor and Description |
---|
CommandResult()
Deprecated.
Creates new CommandResult with succeeded=true and message="Successful"
|
CommandResult(String message)
Deprecated.
Creates new CommandResult with the given message and succeeded=true
|
CommandResult(String message,
boolean succeeded)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
print()
Deprecated.
Return a string version of the result.
|
public String message
public boolean succeeded
public CommandResult()
public CommandResult(String message)
public CommandResult(String message, boolean succeeded)
public String print() throws LiquibaseException
message
but subclasses can return string versions of stored objects like Snapshots etc.LiquibaseException
Copyright © 2023 Liquibase.org. All rights reserved.