Package liquibase.command
Class CommandResultDefinition<DataType>
java.lang.Object
liquibase.command.CommandResultDefinition<DataType>
- All Implemented Interfaces:
Comparable<CommandResultDefinition<?>>
public class CommandResultDefinition<DataType>
extends Object
implements Comparable<CommandResultDefinition<?>>
Defines a known, type-safe result from a specific
CommandStep
.
Because this definition is tied to a specific step, multiple steps in a pipeline can define results of the same name.
- See Also:
-
Nested Class Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
CommandResultDefinition
(String name, Class<DataType> type) -
Method Summary
-
Constructor Details
-
CommandResultDefinition
-
-
Method Details
-
getName
The name of the result. Must be camelCase and alphanumeric. -
getDescription
The description of the result. Used in generated help documentation. -
getDataType
The datatype of the result. -
getDefaultValue
The default value to use if no value was provided. -
compareTo
- Specified by:
compareTo
in interfaceComparable<DataType>
-
equals
-
hashCode
public int hashCode() -
toString
-