@Immutable public interface ParameterConverter
Modifier and Type | Method and Description |
---|---|
Object |
convertParameter(String[] parameterValues,
Class paramType)
This is called to perform the conversion.
|
Object convertParameter(String[] parameterValues, Class paramType) throws IllegalArgumentException
parameterValues
- a String[] that is never null and at least length 1 or more.paramType
- the type of the target objectIllegalArgumentException
- if the value cant be convertedCopyright © 2002-2015 Atlassian. All Rights Reserved.