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 TypeMethodDescriptionvoidreplaceTask(Task<T, S> taskToReplace) Replace the currently-assignedTaskwith another.
-
Method Details
-
replaceTask
Replace the currently-assignedTaskwith another.- Parameters:
taskToReplace- the task to replace.- Throws:
OperationFailedException- if the task cannot be successfully replaced.
-