Top Methods
liquibase.ui

public Interface InputHandler<ReturnType>

Known Direct Implementers
liquibase.ui.DefaultInputHandler

Method Summary

Modifier and TypeMethod and Description
public ReturnType
parseInput(String input, Class<ReturnType> returnType)

Converts the given input into the correct return type.

public default boolean

Returns:

true to allow empty inputs, false to reprompt when an empty value is inputted
shouldAllowEmptyInput
()

Determine whether an empty input should be permitted.

Method Detail

parseInputback to summary
public ReturnType parseInput(String input, Class<ReturnType> returnType) throws IllegalArgumentException

Converts the given input into the correct return type.

Exceptions
IllegalArgumentException:
if the input is not valid
shouldAllowEmptyInputback to summary
public default boolean shouldAllowEmptyInput()

Determine whether an empty input should be permitted.

Returns:boolean

true to allow empty inputs, false to reprompt when an empty value is inputted