ParameterConverter

Constructors

Link copied to clipboard
private constructor(targetType: Class<out Any>, converterFunction: (String) -> Any)

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
private val converterFunction: (String) -> Any
Link copied to clipboard
private val LOG: Logger
Link copied to clipboard
private val LOOKUP: Map<Class<out Any>, ParameterConverter>
Link copied to clipboard
private val targetType: Class<out Any>

Functions

Link copied to clipboard
open fun parse(targetType: Class<out Any>, value: String): Any
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.