public interface InputHandler<ReturnType>
Modifier and Type | Method and Description |
---|---|
ReturnType |
parseInput(String input,
Class<ReturnType> returnType)
Converts the given input into the correct return type.
|
default boolean |
shouldAllowEmptyInput()
Determine whether an empty input should be permitted.
|
ReturnType parseInput(String input, Class<ReturnType> returnType) throws IllegalArgumentException
IllegalArgumentException
- if the input is not validdefault boolean shouldAllowEmptyInput()
Copyright © 2023 Liquibase.org. All rights reserved.