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 -
Method Summary
Modifier and TypeMethodDescriptionlongMay contain a parameter reference for a static threshold read from a data element.longReturns the reference time for relative thresholds.voidSetter forgetEscalationPluginData().voidsetThreshold(long threshold) Setter forgetThreshold().voidsetThresholdReference(long dueDate) Setter forgetThresholdReference().
-
Field Details
-
THRESHOLD
Key for plug-in data: threshold.- See Also:
-
THRESHOLD_REFERENCE
Key for plug-in data: threshold reference.- See Also:
-
-
Method Details
-
getThreshold
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
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
Setter forgetEscalationPluginData().- Parameters:
data-
-