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 whenFcTimePointProps.getTimePointType()is set toETimePointType.EXPRESSION_WITH_FORMAT.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TimePointExpressionWithFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDateTimeFormat()StringgetDateTimeTemplate()ETimePointTriggerDurationUnitgetDurationUnit()StringgetOffsetDuration()ETimePointTriggerOperationgetOperation()voidsetDateTimeFormat(String dateTimeFormat)voidsetDateTimeTemplate(String dateTimeTemplate)voidsetDurationUnit(ETimePointTriggerDurationUnit durationUnit)voidsetOffsetDuration(String offsetDuration)voidsetOperation(ETimePointTriggerOperation operation)
-
-
-
Method Detail
-
getDateTimeFormat
public String 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
public String getDateTimeTemplate()
- Returns:
- The date time when the trigger should fire, may contain placeholders.
-
getDurationUnit
public ETimePointTriggerDurationUnit getDurationUnit()
- Returns:
- The unit of the entered
getOffsetDuration().
-
getOffsetDuration
public String 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
public ETimePointTriggerOperation getOperation()
- Returns:
- The operation for how the
getDateTimeTemplate()and thegetOffsetDuration()are combined.
-
setDateTimeFormat
public void setDateTimeFormat(String dateTimeFormat)
- Parameters:
dateTimeFormat- The format for how to interpret the evaluatedgetDateTimeTemplate(). Must be a validDateTimeFormatterformat. Whennull, thegetDateTimeTemplate()is interpreted as a UNIX time stamp.
-
setDateTimeTemplate
public void setDateTimeTemplate(String dateTimeTemplate)
- Parameters:
dateTimeTemplate- The date time when the trigger should fire, may contain placeholders.
-
setDurationUnit
public void setDurationUnit(ETimePointTriggerDurationUnit durationUnit)
- Parameters:
durationUnit- The unit of the enteredgetOffsetDuration().
-
setOffsetDuration
public void setOffsetDuration(String offsetDuration)
- 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
public void setOperation(ETimePointTriggerOperation operation)
- Parameters:
operation- The operation for how thegetDateTimeTemplate()and thegetOffsetDuration()are combined.
-
-