Class DateRestVariableConverter
java.lang.Object
org.flowable.common.rest.variable.DateRestVariableConverter
- All Implemented Interfaces:
RestVariableConverter
- Author:
- Frederik Heremans
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.fasterxml.jackson.databind.util.ISO8601DateFormat
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
convertVariableValue
(Object variableValue, EngineRestVariable result) Converts the given value and sets the converted value in the givenEngineRestVariable
.Simple type-name used by this converter.Class<?>
Type of variables this converter is able to convert.getVariableValue
(EngineRestVariable result) Extract the variable value to be used in the engine from the givenEngineRestVariable
.
-
Field Details
-
isoFormatter
protected com.fasterxml.jackson.databind.util.ISO8601DateFormat isoFormatter
-
-
Constructor Details
-
DateRestVariableConverter
public DateRestVariableConverter()
-
-
Method Details
-
getRestTypeName
Description copied from interface:RestVariableConverter
Simple type-name used by this converter.- Specified by:
getRestTypeName
in interfaceRestVariableConverter
-
getVariableType
Description copied from interface:RestVariableConverter
Type of variables this converter is able to convert.- Specified by:
getVariableType
in interfaceRestVariableConverter
-
getVariableValue
Description copied from interface:RestVariableConverter
Extract the variable value to be used in the engine from the givenEngineRestVariable
.- Specified by:
getVariableValue
in interfaceRestVariableConverter
-
convertVariableValue
Description copied from interface:RestVariableConverter
Converts the given value and sets the converted value in the givenEngineRestVariable
.- Specified by:
convertVariableValue
in interfaceRestVariableConverter
-