Class AbstractTaskEntry<ScopeT>
java.lang.Object
dev.getelements.elements.rt.transact.AbstractTaskEntry<ScopeT>
- All Implemented Interfaces:
TaskEntry<ScopeT>
,AutoCloseable
- Direct Known Subclasses:
NullTaskEntry
,UnixFSTaskEntryBase
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.getelements.elements.rt.transact.TaskEntry
TaskEntry.OperationalStrategy<ScopeT>
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractTaskEntry
(TaskEntry.OperationalStrategy<ScopeT> operationalStrategy) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
delete()
Clears this entry, if the entry is absent, then this has no effect.boolean
deleteTask
(TaskId taskId) Finds the scope for theTaskEntry
.Gets the tasks associated with thisTaskEntry
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.getelements.elements.rt.transact.TaskEntry
close, findOriginalScope, flush, getOriginalScope, getOriginalTasksImmutable, getScope, isAbsent, isPresent
-
Constructor Details
-
AbstractTaskEntry
-
-
Method Details
-
getTasksImmutable
Description copied from interface:TaskEntry
Gets the tasks associated with thisTaskEntry
.- Specified by:
getTasksImmutable
in interfaceTaskEntry<ScopeT>
- Returns:
- the tasks
-
deleteTask
Description copied from interface:TaskEntry
- Specified by:
deleteTask
in interfaceTaskEntry<ScopeT>
- Parameters:
taskId
- theTaskId
-
addTask
Description copied from interface:TaskEntry
-
findScope
Description copied from interface:TaskEntry
Finds the scope for theTaskEntry
. -
delete
public boolean delete()Description copied from interface:TaskEntry
Clears this entry, if the entry is absent, then this has no effect.
-