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 id of the timer event element as it appears in the process definition.name
- The name of the timer event as it appears in the process definition, if it exists.description
- The description of the timer event as it appears in the process definition, if it exists.type
- The type of the event that associates with the type in the process definition.parentId
- The id of the flow definition which is the parent of this task.timerType
- The type of timer for the timer event.timerValue
- public TimerEventSetup.TimerType getTimerType()
public Serializable getTimerValue()
Date
, the timer value will be a
Date
. If TimerType is
Duration
, the timer value will
be 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) 2020, SAS Institute Inc., Cary, NC, USA</i>