Class TimerEventHandler
java.lang.Object
org.flowable.engine.impl.jobexecutor.TimerEventHandler
- Direct Known Subclasses:
TimerStartEventJobHandler
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
createConfiguration
(String id, String endDate, String calendarName) protected static com.fasterxml.jackson.databind.node.ObjectNode
static String
getActivityIdFromConfiguration
(String jobHandlerConfiguration) static String
getCalendarNameFromConfiguration
(String jobHandlerConfiguration) static String
getEndDateFromConfiguration
(String jobHandlerConfiguration) protected static com.fasterxml.jackson.databind.JsonNode
readJsonValue
(String config) protected static com.fasterxml.jackson.databind.node.ObjectNode
readJsonValueAsObjectNode
(String config) static String
setActivityIdToConfiguration
(String jobHandlerConfiguration, String activityId) static String
setEndDateToConfiguration
(String jobHandlerConfiguration, String endDate)
-
Field Details
-
PROPERTYNAME_TIMER_ACTIVITY_ID
- See Also:
-
PROPERTYNAME_END_DATE_EXPRESSION
- See Also:
-
PROPERTYNAME_CALENDAR_NAME_EXPRESSION
- See Also:
-
-
Constructor Details
-
TimerEventHandler
public TimerEventHandler()
-
-
Method Details
-
createConfiguration
-
setActivityIdToConfiguration
-
getActivityIdFromConfiguration
-
getCalendarNameFromConfiguration
-
setEndDateToConfiguration
-
getEndDateFromConfiguration
-
createObjectNode
protected static com.fasterxml.jackson.databind.node.ObjectNode createObjectNode() -
readJsonValueAsObjectNode
protected static com.fasterxml.jackson.databind.node.ObjectNode readJsonValueAsObjectNode(String config) throws IOException - Throws:
IOException
-
readJsonValue
protected static com.fasterxml.jackson.databind.JsonNode readJsonValue(String config) throws IOException - Throws:
IOException
-