public class CommandResultDefinition<DataType> extends Object implements Comparable<CommandResultDefinition<?>>
CommandStep
.
Because this definition is tied to a specific step, multiple steps in a pipeline can define results of the same name.
for constructing new instances.
Modifier and Type | Class and Description |
---|---|
static class |
CommandResultDefinition.Building<DataType> |
Modifier | Constructor and Description |
---|---|
protected |
CommandResultDefinition(String name,
Class<DataType> type) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(CommandResultDefinition<?> o) |
boolean |
equals(Object o) |
Class<DataType> |
getDataType()
The datatype of the result.
|
DataType |
getDefaultValue()
The default value to use if no value was provided.
|
String |
getDescription()
The description of the result.
|
String |
getName()
The name of the result.
|
int |
hashCode() |
String |
toString() |
public String getName()
public String getDescription()
public DataType getDefaultValue()
public int compareTo(CommandResultDefinition<?> o)
compareTo
in interface Comparable<CommandResultDefinition<?>>
Copyright © 2023 Liquibase.org. All rights reserved.