Interface MultiLevelEscalationData.LevelData
-
- Enclosing interface:
- MultiLevelEscalationData
public static interface MultiLevelEscalationData.LevelData
Container for the data for a single escalation level.- Author:
- Kevin Goeser
-
-
Field Summary
Fields Modifier and Type Field Description static String
THRESHOLD
Key for plug-in data: threshold.static String
THRESHOLD_REFERENCE
Key for plug-in data: threshold reference.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PluginData
getEscalationPluginData()
long
getThreshold()
May contain a parameter reference for a static threshold read from a data element.long
getThresholdReference()
Returns the reference time for relative thresholds.void
setEscalationPluginData(PluginData data)
Setter forgetEscalationPluginData()
.void
setThreshold(long threshold)
Setter forgetThreshold()
.void
setThresholdReference(long dueDate)
Setter forgetThresholdReference()
.
-
-
-
Field Detail
-
THRESHOLD
static final String THRESHOLD
Key for plug-in data: threshold.- See Also:
- Constant Field Values
-
THRESHOLD_REFERENCE
static final String THRESHOLD_REFERENCE
Key for plug-in data: threshold reference.- See Also:
- Constant Field Values
-
-
Method Detail
-
getThreshold
long getThreshold() throws UnresolvedParameterReferenceException
May contain a parameter reference for a static threshold read from a data element.- Returns:
- The timestamp of an absolute threshold, or the relative time in milliseconds as negative value.
- Throws:
UnresolvedParameterReferenceException
-
setThreshold
void setThreshold(long threshold)
Setter forgetThreshold()
.- Parameters:
threshold
-
-
getThresholdReference
long getThresholdReference() throws UnresolvedParameterReferenceException
Returns the reference time for relative thresholds. The reference time is either "0", i.e. the current time when the worklist item is being created is used, or the value is read from a parameter (SystemDataConsumer).- Returns:
- The reference time for relative due dates.
- Throws:
UnresolvedParameterReferenceException
-
setThresholdReference
void setThresholdReference(long dueDate)
Setter forgetThresholdReference()
.- Parameters:
dueDate
-
-
getEscalationPluginData
PluginData getEscalationPluginData()
- Returns:
- The plug-in data for the plug-in performing the escalation in this level.
-
setEscalationPluginData
void setEscalationPluginData(PluginData data)
Setter forgetEscalationPluginData()
.- Parameters:
data
-
-
-