Class TaskTracker<T extends TaskTideModel<T>>
java.lang.Object
org.tasktide.engine.trackers.TaskTracker<T>
- Type Parameters:
T- of TaskTideModel
Deprecated.
Generic class to hold logic for tracking execution states of
TaskTideModel
elements (ie ItemTask, WorkItem).-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Fetch state of taskbooleanDeprecated.Check if task is still running or in preparebooleanDeprecated.Check whether task is completedbooleanDeprecated.Check whether is held in a non completed statebooleanDeprecated.Check whether task is presentbooleanDeprecated.Check if task is runningvoidmarkTask(String taskId, ExecutionState state) Deprecated.Mark task withExecutionStateintDeprecated.Fetch count of tasks being trackedtoString()Deprecated.String representation of tracked tasks and their states.
-
Method Details
-
markTask
-
get
-
isDone
Deprecated.Check whether task is completed- Parameters:
taskId-- Returns:
- boolean
-
isActive
Deprecated.Check if task is still running or in prepare- Parameters:
taskId-- Returns:
- boolean
-
isRunning
Deprecated.Check if task is running- Parameters:
taskId-- Returns:
- boolean
-
isHeld
Deprecated.Check whether is held in a non completed state- Parameters:
taskId-- Returns:
- boolean
-
isPresent
Deprecated.Check whether task is present- Parameters:
taskId-- Returns:
- boolean
-
taskCount
public int taskCount()Deprecated.Fetch count of tasks being tracked- Returns:
- int
-
toString
-