Package org.anchoranalysis.experiment.io
Interface ReplaceTask<T extends InputFromManager,S>
- Type Parameters:
T
- input-object typeS
- shared-state for job
- All Known Implementing Classes:
ConvertNamedChannels
,DebugDependentProcessor
,InputOutputExperiment
,JobProcessor
,ParallelProcessor
,SequentialProcessor
public interface ReplaceTask<T extends InputFromManager,S>
Indicates and provides a mechanism that the
Task
can be replaced.- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionvoid
replaceTask
(Task<T, S> taskToReplace) Replace the currently-assignedTask
with another.
-
Method Details
-
replaceTask
Replace the currently-assignedTask
with another.- Parameters:
taskToReplace
- the task to replace.- Throws:
OperationFailedException
- if the task cannot be successfully replaced.
-