Package com.appiancorp.suiteapi.process
Class RecurrenceInstance
java.lang.Object
com.appiancorp.suiteapi.process.Recurrence
com.appiancorp.suiteapi.process.RecurrenceInstance
- All Implemented Interfaces:
Serializable
This class is used to specify properties for a particular node instance that
is set to re-execute after every configurable interval of time.
The class also provides a way to specify the end condition on which
the recurrence should stop.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.appiancorp.suiteapi.process.Recurrence
Recurrence.End
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
Retrieves the unique id of this RecurrenceInstance.Retrieves the timestamp at which next instance of the node is created.void
Sets the id of the recurrence instance.void
setTimeStampScheduled
(Timestamp stampScheduled_) Sets the timestamp at which the next instance of the node is created.Methods inherited from class com.appiancorp.suiteapi.process.Recurrence
getEnd, getRecurringInterval, getTimeZoneId, getTimeZoneIdExpr, setEnd, setRecurringInterval, setTimeZoneId, setTimeZoneIdExpr
-
Constructor Details
-
RecurrenceInstance
public RecurrenceInstance()
-
-
Method Details
-
getId
Retrieves the unique id of this RecurrenceInstance. This id is unique across all Recurrences instances in all the processes- Returns:
- unique id of this recurrence instance
-
setId
Sets the id of the recurrence instance. This should be unique across all processes- Parameters:
id_
-
-
getTimeStampScheduled
Retrieves the timestamp at which next instance of the node is created.- Returns:
- timestamp of the time at which next node instance is created
-
setTimeStampScheduled
Sets the timestamp at which the next instance of the node is created.- Parameters:
stampScheduled_
- timestamp of the time at which new instance of node is created.
-