Interface TaskEntry.OperationalStrategy<ScopeT>
public static interface TaskEntry.OperationalStrategy<ScopeT>
An operational strategy, which defines a list of tasks.
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
Implements the add task operation.default boolean
default boolean
doDeleteTask
(TaskEntry<ScopeT> taskEntry, TaskId taskId) Deletes the task with the suppliedTaskId
.doFindScope
(TaskEntry<ScopeT> taskEntry) Finds the scope of the task entry.default Map
<TaskId, TransactionalTask> doGetTasksImmutable
(TaskEntry<ScopeT> taskEntry) Gets theTransactionalTask
s associated with this entry.
-
Method Details
-
doFindScope
Finds the scope of the task entry.- Parameters:
taskEntry
-- Returns:
-
doGetTasksImmutable
Gets theTransactionalTask
s associated with this entry.- Parameters:
taskEntry
-- Returns:
-
doAddTask
Implements the add task operation.- Parameters:
taskEntry
- the task entrytaskId
- the task IDtimestamp
- the timestamp
-
doDeleteTask
Deletes the task with the suppliedTaskId
.- Parameters:
taskEntry
- the task entrytaskId
- the task ID
-
doDelete
- Parameters:
taskEntry
-- Returns:
-