Package liquibase.command.core.init
Class FilenameGetter
java.lang.Object
liquibase.command.core.init.AbstractCommandLineValueGetter<String>
liquibase.command.core.init.FilenameGetter
-
Field Summary
Fields inherited from class liquibase.command.core.init.AbstractCommandLineValueGetter
NEW_PARAMETER_VALUES_SCOPE_KEY -
Constructor Summary
Constructors -
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.booleanGiven the input from the user, after being converted, validate it.Methods inherited from class liquibase.command.core.init.AbstractCommandLineValueGetter
prompt
-
Constructor Details
-
FilenameGetter
public FilenameGetter()
-
-
Method Details
-
validate
Description copied from class:AbstractCommandLineValueGetterGiven the input from the user, after being converted, validate it.- Specified by:
validatein classAbstractCommandLineValueGetter<String>- Returns:
- true if it is valid
-
convert
Description copied from class:AbstractCommandLineValueGetterGiven the raw input string from the user, convert it to the right type.- Specified by:
convertin classAbstractCommandLineValueGetter<String>- Parameters:
input- the raw input string from the prompt- Returns:
- the converted input
-
describe
Description copied from class:AbstractCommandLineValueGetterDescribe the type of input expected by this class.- Overrides:
describein classAbstractCommandLineValueGetter<String>
-