Class FcTimePointProps.TimePointExpressionWithFormat
java.lang.Object
de.xima.fc.workflow.model.triggers.FcTimePointProps.TimePointExpressionWithFormat
- All Implemented Interfaces:
Serializable
- Enclosing class:
- FcTimePointProps
public static final class FcTimePointProps.TimePointExpressionWithFormat
extends Object
implements Serializable
The settings for the time point when
FcTimePointProps.getTimePointType() is set to
ETimePointType.EXPRESSION_WITH_FORMAT.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetDateTimeFormat(String dateTimeFormat) voidsetDateTimeTemplate(String dateTimeTemplate) voidsetDurationUnit(ETimePointTriggerDurationUnit durationUnit) voidsetOffsetDuration(String offsetDuration) voidsetOperation(ETimePointTriggerOperation operation)
-
Constructor Details
-
TimePointExpressionWithFormat
public TimePointExpressionWithFormat()
-
-
Method Details
-
getDateTimeFormat
- Returns:
- The format for how to interpret the evaluated
getDateTimeTemplate(). Must be a validDateTimeFormatterformat. Whennull, thegetDateTimeTemplate()is interpreted as a UNIX time stamp.
-
getDateTimeTemplate
- Returns:
- The date time when the trigger should fire, may contain placeholders.
-
getDurationUnit
- Returns:
- The unit of the entered
getOffsetDuration().
-
getOffsetDuration
- Returns:
- An offset that is added to or subtracted from the
getDateTimeTemplate()to obtain the final time when the trigger should fire.nulloremptyis interpreted as0. May contain placeholders.
-
getOperation
- Returns:
- The operation for how the
getDateTimeTemplate()and thegetOffsetDuration()are combined.
-
setDateTimeFormat
- Parameters:
dateTimeFormat- The format for how to interpret the evaluatedgetDateTimeTemplate(). Must be a validDateTimeFormatterformat. Whennull, thegetDateTimeTemplate()is interpreted as a UNIX time stamp.
-
setDateTimeTemplate
- Parameters:
dateTimeTemplate- The date time when the trigger should fire, may contain placeholders.
-
setDurationUnit
- Parameters:
durationUnit- The unit of the enteredgetOffsetDuration().
-
setOffsetDuration
- Parameters:
offsetDuration- An offset that is added to or subtracted from thegetDateTimeTemplate()to obtain the final time when the trigger should fire.nulloremptyis interpreted as0. May contain placeholders.
-
setOperation
- Parameters:
operation- The operation for how thegetDateTimeTemplate()and thegetOffsetDuration()are combined.
-