Package liquibase.command.core.init
Class DirectoryGetter
java.lang.Object
liquibase.command.core.init.AbstractCommandLineValueGetter<String>
liquibase.command.core.init.DirectoryGetter
-
Field Summary
Fields inherited from class liquibase.command.core.init.AbstractCommandLineValueGetter
NEW_PARAMETER_VALUES_SCOPE_KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGiven the raw input string from the user, convert it to the right type.describe()
Describe the type of input expected by this class.boolean
Given the input from the user, after being converted, validate it.Methods inherited from class liquibase.command.core.init.AbstractCommandLineValueGetter
prompt
-
Constructor Details
-
DirectoryGetter
public DirectoryGetter()
-
-
Method Details
-
validate
Description copied from class:AbstractCommandLineValueGetter
Given the input from the user, after being converted, validate it.- Specified by:
validate
in classAbstractCommandLineValueGetter<String>
- Returns:
- true if it is valid
-
convert
Description copied from class:AbstractCommandLineValueGetter
Given the raw input string from the user, convert it to the right type.- Specified by:
convert
in classAbstractCommandLineValueGetter<String>
- Parameters:
input
- the raw input string from the prompt- Returns:
- the converted input
-
describe
Description copied from class:AbstractCommandLineValueGetter
Describe the type of input expected by this class.- Overrides:
describe
in classAbstractCommandLineValueGetter<String>
-