public class EnumeratedBundlerParam<T> extends BundlerParamInfo<T>
Constructor and Description |
---|
EnumeratedBundlerParam(String name,
String description,
String id,
Class<T> valueType,
Function<Map<String,? super Object>,T> defaultValueFunction,
BiFunction<String,Map<String,? super Object>,T> stringConverter,
Map<String,T> elements,
boolean strict) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getDisplayableKeys() |
T |
getValueForDisplayableKey(String displayableKey) |
boolean |
isInPossibleValues(T value) |
boolean |
isLoose() |
boolean |
isStrict() |
T |
validatedFetchFrom(Map<String,? super Object> params) |
fetchFrom, getDefaultValueFunction, getDescription, getID, getName, getStringConverter, getValueType, setDefaultValueFunction, setDescription, setId, setName, setStringConverter, setValueType
public boolean isInPossibleValues(T value)
public boolean isStrict()
public boolean isLoose()
public T validatedFetchFrom(Map<String,? super Object> params) throws InvalidBundlerParamException
InvalidBundlerParamException
Copyright © 2020. All rights reserved.