Interface PropertyParser<T>
-
- All Known Implementing Classes:
CollectionPropertyParser,CustomHolidayParser,EnumPropertyParser,LocalTimeIntervalParser,MapPropertyParser,SimpleParser
public interface PropertyParser<T>
-
-
Field Summary
Fields Modifier and Type Field Description static Map<Class<?>,PropertyParser<?>>PROPERTY_INITIALIZER_BY_CLASS
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static PropertyParser<?>getPropertyParser(Class<?> forClass)Class<?>getTargetClass()default Optional<T>parse(String value, String separator, Field field)Optional<T>parse(String value, String separator, Type type)default Optional<T>parse(Map<String,String> properties, String separator, Field field, TaskanaProperty taskanaProperty)default booleanvalidateTargetField(Field field)
-
-
-
Field Detail
-
PROPERTY_INITIALIZER_BY_CLASS
static final Map<Class<?>,PropertyParser<?>> PROPERTY_INITIALIZER_BY_CLASS
-
-
Method Detail
-
getPropertyParser
static PropertyParser<?> getPropertyParser(Class<?> forClass)
-
getTargetClass
Class<?> getTargetClass()
-
parse
default Optional<T> parse(Map<String,String> properties, String separator, Field field, TaskanaProperty taskanaProperty)
-
validateTargetField
default boolean validateTargetField(Field field)
-
-