Interface SchedulerData
-
public interface SchedulerData
Plug-in data for scheduling process steps. Used in the nodes, EBP instance and worklist item.- Author:
- KevinGoeser
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getComplexity()
The complexity, cf.String
getDelegationHandlingProcedureID()
String
getDelegationRule()
Returns the staff assignment rule defining the agents to which the item may be delegated.String
getDistributionHandlingProcedureID()
long
getDueDate()
The due date, cf.long
getDueDateReference()
Returns the reference time for relative due dates.int
getPriority()
The priority, cf.int
getTolerance()
The tolerance for the complexity in percent.void
setComplexity(long complexity)
Setter forgetComplexity()
.void
setDelegationHandlingProcedureID(String id)
Setter forgetDelegationHandlingProcedureID()
.void
setDelegationRule(String rule)
Setter forgetDelegationRule()
.void
setDistributionHandlingProcedureID(String id)
Setter forgetDistributionHandlingProcedureID()
.void
setDueDate(long dueDate)
Setter forgetDueDate()
.void
setDueDateReference(long dueDate)
Setter forgetDueDateReference()
.void
setPriority(int priority)
Setter forgetPriority()
.void
setTolerance(int tolerance)
Setter forgetTolerance()
.
-
-
-
Field Detail
-
ID
static final String ID
My plug-in ID.- See Also:
- Constant Field Values
-
-
Method Detail
-
getPriority
int getPriority() throws UnresolvedParameterReferenceException
The priority, cf.WorklistItem.getPriority()
- Returns:
- The priority of the process step.
- Throws:
UnresolvedParameterReferenceException
-
setPriority
void setPriority(int priority)
Setter forgetPriority()
.- Parameters:
priority
-
-
getComplexity
long getComplexity()
The complexity, cf.WorklistItem.getComplexity()
- Returns:
- The complexity as needed work time in milliseconds.
-
setComplexity
void setComplexity(long complexity)
Setter forgetComplexity()
.- Parameters:
complexity
-
-
getTolerance
int getTolerance()
The tolerance for the complexity in percent.- Returns:
- The tolerance for the complexity in percent.
-
setTolerance
void setTolerance(int tolerance)
Setter forgetTolerance()
.- Parameters:
tolerance
-
-
getDueDate
long getDueDate() throws UnresolvedParameterReferenceException
The due date, cf.WorklistItem.getDueDate()
- Returns:
- The due date as absolute time stamp, or as negative amount of milliseconds for a due date relative to the activation time.
- Throws:
UnresolvedParameterReferenceException
-
setDueDate
void setDueDate(long dueDate)
Setter forgetDueDate()
.- Parameters:
dueDate
-
-
getDueDateReference
long getDueDateReference() throws UnresolvedParameterReferenceException
Returns the reference time for relative due dates. 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
-
setDueDateReference
void setDueDateReference(long dueDate)
Setter forgetDueDateReference()
.- Parameters:
dueDate
-
-
getDistributionHandlingProcedureID
String getDistributionHandlingProcedureID()
- Returns:
- The plug-in ID for distribution handling.
-
setDistributionHandlingProcedureID
void setDistributionHandlingProcedureID(String id)
Setter forgetDistributionHandlingProcedureID()
.- Parameters:
id
-
-
getDelegationHandlingProcedureID
String getDelegationHandlingProcedureID()
- Returns:
- The plug-in ID for delegation handling.
-
setDelegationHandlingProcedureID
void setDelegationHandlingProcedureID(String id)
Setter forgetDelegationHandlingProcedureID()
.- Parameters:
id
-
-
getDelegationRule
String getDelegationRule()
Returns the staff assignment rule defining the agents to which the item may be delegated.- Returns:
- The delegation rule.
-
setDelegationRule
void setDelegationRule(String rule)
Setter forgetDelegationRule()
.- Parameters:
rule
-
-
-