Top Description Fields Constructors Methods
liquibase.command

public Class CommandResult

extends Object
Class Inheritance
Known Direct Subclasses
liquibase.command.core.SnapshotCommand.SnapshotCommandResult
Imports
liquibase.exception.LiquibaseException

Deprecated

Used by the old LiquibaseCommand style of command setup.

Holds results of a LiquibaseCommand execution, including a message and whether the command succeeded or not.

Field Summary

Modifier and TypeField and Description
public String
public boolean

Constructor Summary

AccessConstructor and Description
public
CommandResult()

Creates new CommandResult with succeeded=true and message="Successful"

public
CommandResult(String message)

Creates new CommandResult with the given message and succeeded=true

public
CommandResult(String message, boolean succeeded)

Method Summary

Modifier and TypeMethod and Description
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

messageback to summary
public String message
succeededback to summary
public boolean succeeded

Constructor Detail

CommandResultback to summary
public CommandResult()

Creates new CommandResult with succeeded=true and message="Successful"

CommandResultback to summary
public CommandResult(String message)

Creates new CommandResult with the given message and succeeded=true

CommandResultback to summary
public CommandResult(String message, boolean succeeded)

Method Detail