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 String
getDateTimeFormat()
String
getDateTimeTemplate()
ETimePointTriggerDurationUnit
getDurationUnit()
String
getOffsetDuration()
ETimePointTriggerOperation
getOperation()
void
setDateTimeFormat(String dateTimeFormat)
void
setDateTimeTemplate(String dateTimeTemplate)
void
setDurationUnit(ETimePointTriggerDurationUnit durationUnit)
void
setOffsetDuration(String offsetDuration)
void
setOperation(ETimePointTriggerOperation operation)
-
-
-
Method Detail
-
getDateTimeFormat
public String getDateTimeFormat()
- Returns:
- The format for how to interpret the evaluated
getDateTimeTemplate()
. Must be a validDateTimeFormatter
format. 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.null
orempty
is 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 validDateTimeFormatter
format. 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.null
orempty
is interpreted as0
. May contain placeholders.
-
setOperation
public void setOperation(ETimePointTriggerOperation operation)
- Parameters:
operation
- The operation for how thegetDateTimeTemplate()
and thegetOffsetDuration()
are combined.
-
-