public class TimerEventDefinition extends EventDefinition
Modifier and Type | Class and Description |
---|---|
static class |
TimerEventDefinition.TimerType
Provides type of timer to use in the timer event.
|
description, name
Constructor and Description |
---|
TimerEventDefinition(String name,
String description,
String elementId,
Element.ElementType type,
String processFlowIdentifier,
long revision,
TimerEventDefinition.TimerType timerType,
String variableName)
Initializing constructor which sets the values of all variables.
|
Modifier and Type | Method and Description |
---|---|
TimerEventDefinition.TimerType |
getTimerType() |
Serializable |
getTimerValue() |
String |
getVariableName() |
void |
setTimerValue(Serializable timerValue) |
equals, getDescription, getElementId, getName, getProcessFlowIdentifier, getRevision, getType, hashCode, toString
public TimerEventDefinition(String name, String description, String elementId, Element.ElementType type, String processFlowIdentifier, long revision, TimerEventDefinition.TimerType timerType, String variableName)
It is not intended or recommended that the consumer of the API construct these objects. They should only be
retrieved from service calls such as
ProcessFlowService.getElementDefinitions(ProcessFlowContext, String)
.
name
- The name of the element definitiondescription
- The description of the element definitionelementId
- The id of the element definition as it appears in the process definitiontype
- The type of the elementprocessFlowIdentifier
- The identifier of the process flow that contains this elementrevision
- the internal revision numbertimerType
- the type of timervariableName
- internal value of the variable name of the data object representing the timer valuepublic 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 String getVariableName()
public TimerEventDefinition.TimerType getTimerType()
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA