Class CollectionPropertyParser<T extends Collection<Object>>
- java.lang.Object
-
- pro.taskana.common.internal.configuration.parser.CollectionPropertyParser<T>
-
- All Implemented Interfaces:
PropertyParser<T>
public class CollectionPropertyParser<T extends Collection<Object>> extends Object implements PropertyParser<T>
-
-
Field Summary
-
Fields inherited from interface pro.taskana.common.internal.configuration.parser.PropertyParser
PROPERTY_INITIALIZER_BY_CLASS
-
-
Constructor Summary
Constructors Constructor Description CollectionPropertyParser(Class<T> targetClass, Supplier<T> emptyCollection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>getTargetClass()Optional<T>parse(String value, String separator, Type type)-
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, validateTargetField
-
-
-
-
Method Detail
-
getTargetClass
public Class<?> getTargetClass()
- Specified by:
getTargetClassin interfacePropertyParser<T extends Collection<Object>>
-
parse
public Optional<T> parse(String value, String separator, Type type)
- Specified by:
parsein interfacePropertyParser<T extends Collection<Object>>
-
-