Top Description Constructors Methods
liquibase.ui

public Class DefaultInputHandler<ReturnType>

extends Object
implements InputHandler<ReturnType>
Class Inheritance
All Implemented Interfaces
liquibase.ui.InputHandler
Imports
liquibase.util.ObjectUtil

Default input handler simply calls liquibase.util.ObjectUtil#convert(Object, Class)

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

Implements liquibase.ui.InputHandler.parseInput.

Converts the given input into the correct return type.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

DefaultInputHandlerback to summary
public DefaultInputHandler()

Method Detail

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

Implements liquibase.ui.InputHandler.parseInput.

Doc from liquibase.ui.InputHandler.parseInput.

Converts the given input into the correct return type.

Annotations
@Override
Exceptions
IllegalArgumentException:
if the input is not valid