public interface IPercentageCompletionCallback
| Modifier and Type | Method and Description |
|---|---|
double |
onTaskAssigned(Task parentTask,
Task subTask,
int totalNumberOfSubTasks,
int numberOfCompletedSubTasks,
double previousPercentageComplete,
java.util.Map<java.lang.String,java.lang.Double> subTaskPercentageCompleted)
Compute percentage complete on sub task assigned
|
double |
onTaskCompleted(Task parentTask,
Task subTask,
int totalNumberOfSubTasks,
int numberOfCompletedSubTasks,
double previousPercentageComplete,
java.util.Map<java.lang.String,java.lang.Double> subTaskPercentageCompleted)
Compute percentage complete on sub task deleted
|
double |
onTaskCompleted(Task parentTask,
Task subTask,
int totalNumberOfSubTasks,
int numberOfCompletedSubTasks,
double previousPercentageComplete,
java.lang.String currentSubTaskOutcome,
java.util.Map<java.lang.String,java.lang.Double> subTaskPercentageCompleted)
Compute percentage complete on sub task completed
|
double |
onTaskUpdated(Task parentTask,
Task subTask,
int totalNumberOfSubTasks,
double previousPercentageComplete,
java.util.Map<java.lang.String,java.lang.Double> subTaskPercentageCompleted)
Compute percentage complete on sub task completed
|
double onTaskAssigned(Task parentTask, Task subTask, int totalNumberOfSubTasks, int numberOfCompletedSubTasks, double previousPercentageComplete, java.util.Map<java.lang.String,java.lang.Double> subTaskPercentageCompleted)
parentTask - The parent tasksubTask - The subtasktotalNumberOfSubTasks - an int value, including the sub task that is creatednumberOfCompletedSubTasks - an int valuepreviousPercentageComplete - a double valuesubTaskPercentageCompleted - a Map with key as the subtask taskid and value beingdouble valuedouble onTaskCompleted(Task parentTask, Task subTask, int totalNumberOfSubTasks, int numberOfCompletedSubTasks, double previousPercentageComplete, java.lang.String currentSubTaskOutcome, java.util.Map<java.lang.String,java.lang.Double> subTaskPercentageCompleted)
parentTask - The parent tasksubTask - The subtasktotalNumberOfSubTasks - an int valuenumberOfCompletedSubTasks - an int valuepreviousPercentageComplete - a double valuecurrentSubTaskOutcome - The outcome of the subtasksubTaskPercentageCompleted - a Map with key as the subtask taskid and value beingdouble valuedouble onTaskUpdated(Task parentTask, Task subTask, int totalNumberOfSubTasks, double previousPercentageComplete, java.util.Map<java.lang.String,java.lang.Double> subTaskPercentageCompleted)
parentTask - The parent tasksubTask - The subtasktotalNumberOfSubTasks - an int valuepreviousPercentageComplete - a double valuesubTaskPercentageCompleted - a Map with key as the subtask taskid and value being
the percentage completesubTaskPercentageCompleted - a Map with key as the subtask taskid and value beingdouble valuedouble onTaskCompleted(Task parentTask, Task subTask, int totalNumberOfSubTasks, int numberOfCompletedSubTasks, double previousPercentageComplete, java.util.Map<java.lang.String,java.lang.Double> subTaskPercentageCompleted)
parentTask - The parent tasksubTask - The subtasktotalNumberOfSubTasks - an int value. This cound doesn't include the sub task that is deletednumberOfCompletedSubTasks - an int valuepreviousPercentageComplete - a double valuesubTaskPercentageCompleted - a Map with key as the subtask taskid and value beingdouble value