Class EnumPropertyParser
- java.lang.Object
-
- pro.taskana.common.internal.configuration.parser.EnumPropertyParser
-
- All Implemented Interfaces:
PropertyParser<Enum<?>>
public class EnumPropertyParser extends Object implements PropertyParser<Enum<?>>
-
-
Field Summary
-
Fields inherited from interface pro.taskana.common.internal.configuration.parser.PropertyParser
PROPERTY_INITIALIZER_BY_CLASS
-
-
Constructor Summary
Constructors Constructor Description EnumPropertyParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>getTargetClass()Optional<Enum<?>>parse(String value, String separator, Type type)booleanvalidateTargetField(Field field)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface pro.taskana.common.internal.configuration.parser.PropertyParser
parse, parse
-
-
-
-
Method Detail
-
getTargetClass
public Class<?> getTargetClass()
- Specified by:
getTargetClassin interfacePropertyParser<Enum<?>>
-
validateTargetField
public boolean validateTargetField(Field field)
- Specified by:
validateTargetFieldin interfacePropertyParser<Enum<?>>
-
-