Package liquibase.command
Class CommandArgumentDefinition<DataType>
java.lang.Object
liquibase.command.CommandArgumentDefinition<DataType>
- All Implemented Interfaces:
- Comparable<CommandArgumentDefinition<?>>
public class CommandArgumentDefinition<DataType>
extends Object
implements Comparable<CommandArgumentDefinition<?>>
Defines a known, type-safe argument for a specific 
CommandStep.
 Includes metadata about the argument such as a description, if it is required, a default value, etc.
 Because this definition is tied to a specific step, multiple steps in a pipeline can define arguments of the same name.
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classA newCommandArgumentDefinitionunder construction fromCommandBuilder
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedCommandArgumentDefinition(String name, Class<DataType> type) 
- 
Method SummaryModifier and TypeMethodDescriptionintbooleanAliases for the argument.booleanHidden arguments are ones that can be called via integrations, but should not be normally shown in help to users.inthashCode()toString()voidvalidate(CommandScope commandScope) Validates that the value stored in the givenCommandScopeis valid.
- 
Constructor Details- 
CommandArgumentDefinition
 
- 
- 
Method Details- 
getAliasesAliases for the argument. Must be camelCase alphanumeric.
- 
getForcePrintedAliases
- 
getHiddenpublic boolean getHidden()Hidden arguments are ones that can be called via integrations, but should not be normally shown in help to users.
- 
validateValidates that the value stored in the givenCommandScopeis valid.- Throws:
- CommandValidationException- if the stored value is not valid.
 
- 
compareTo- Specified by:
- compareToin interface- Comparable<DataType>
 
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-