public class TimerEventSetup extends EventSetup
Modifier and Type | Class and Description |
---|---|
static class |
TimerEventSetup.TimerType
Provides type of timer to use in the timer event.
|
description, name
Constructor and Description |
---|
TimerEventSetup(String name,
String description,
String elementId,
Element.ElementType type,
String processFlowIdentifier,
TimerEventSetup.TimerType timerType)
It is not intended or recommended that the consumer of this API construct these objects.
|
Modifier and Type | Method and Description |
---|---|
TimerEventSetup.TimerType |
getTimerType() |
Serializable |
getTimerValue()
Gets the value of duration.
|
void |
setTimerValue(Serializable timerValue) |
equals, hashCode, toString
getDescription, getElementId, getName, getProcessFlowIdentifier, getType
public TimerEventSetup(String name, String description, String elementId, Element.ElementType type, String processFlowIdentifier, TimerEventSetup.TimerType timerType)
name
- the name of the event.description
- the description of the event.elementId
- the id of the event as it appears in the process definition.type
- the type of the event.processFlowIdentifier
- the id of the process flow containing this event.timerType
- the type of timer for the timer event.public Serializable getTimerValue()
public void setTimerValue(Serializable timerValue)
timerValue
- the time value to set. For duration, the string value is expected to be in ISO 8601 duration
format. Example of duration is P10D which represents 10 days.public TimerEventSetup.TimerType getTimerType()
Copyright (c) 2019, SAS Institute Inc., Cary, NC, USA