public class TimerEventDefinition extends FlowElementDefinition implements IntermediateEventDefinition
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
TimerEventSetup.TimerType |
getTimerType()
Gets the type of timer for the timer event.
|
Serializable |
getTimerValue()
Gets the value of the timer.
|
int |
hashCode() |
String |
toString() |
getDescription, getElementId, getName, getParentId, getType
public TimerEventDefinition(String elementId, String name, String description, Element.ElementType type, String parentId, TimerEventSetup.TimerType timerType, Serializable timerValue)
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.public TimerEventSetup.TimerType getTimerType()
public Serializable getTimerValue()
Date
, the timer value is a
Date
. If TimerType is
Duration
, the timer value is a
String in ISO 8601 duration format. An example of duration is P10D, which represents 10 days.public int hashCode()
hashCode
in class FlowElementDefinition
public boolean equals(Object obj)
equals
in class FlowElementDefinition
public String toString()
toString
in class FlowElementDefinition
<i>Copyright (c) 2022, SAS Institute Inc., Cary, NC, USA</i>