Class TimerEventDefinition
java.lang.Object
com.sas.lsaf.workflow.processdefinition.FlowElementDefinition
com.sas.lsaf.workflow.processdefinition.TimerEventDefinition
- All Implemented Interfaces:
IntermediateEventDefinition,Serializable
public class TimerEventDefinition
extends FlowElementDefinition
implements IntermediateEventDefinition
The class that represents a timer event definition.
- Since:
- 2.4
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTimerEventDefinition(String elementId, String name, String description, Element.ElementType type, String parentId, TimerEventSetup.TimerType timerType, Serializable timerValue) It is not intended or recommended that the consumer of this API construct these objects. -
Method Summary
Methods inherited from class com.sas.lsaf.workflow.processdefinition.FlowElementDefinition
getDescription, getElementId, getName, getParentId, getType
-
Constructor Details
-
TimerEventDefinition
public TimerEventDefinition(String elementId, String name, String description, Element.ElementType type, String parentId, TimerEventSetup.TimerType timerType, Serializable timerValue) It is not intended or recommended that the consumer of this API construct these objects. They should only deal with the timer event definitions returned by the API.- Parameters:
elementId- The identifier of the timer event element as it appears in the process flow definition.name- The name of the timer event as it appears in the process flow definition.description- The description of the timer event as it appears in the process flow definition.type- The type of the event that associates with the type in the process flow definition.parentId- The id of the flow definition that is the parent of this task.timerType- The type of timer for the timer event.timerValue- The value of the timer.
-
-
Method Details
-
getTimerType
- Returns:
- The type.
-
getTimerValue
Gets the value of the timer. If TimerType isDate, the timer value is aDate. If TimerType isDuration, the timer value is a String in ISO 8601 duration format. An example of duration is P10D, which represents 10 days.- Returns:
- The value.
-
hashCode
public int hashCode()- Overrides:
hashCodein classFlowElementDefinition
-
equals
- Overrides:
equalsin classFlowElementDefinition
-
toString
- Overrides:
toStringin classFlowElementDefinition
-