Class SummarizeBase<T extends org.anchoranalysis.io.input.InputFromManager,S>
Object
org.anchoranalysis.bean.AnchorBean<org.anchoranalysis.experiment.bean.task.Task<T,S>>
org.anchoranalysis.experiment.bean.task.Task<T,Summarizer<S>>
org.anchoranalysis.plugin.io.bean.task.SummarizeBase<T,S>
- Direct Known Subclasses:
SummarizeInputs
public abstract class SummarizeBase<T extends org.anchoranalysis.io.input.InputFromManager,S> extends org.anchoranalysis.experiment.bean.task.Task<T,Summarizer<S>>
-
Constructor Summary
Constructors Constructor Description SummarizeBase() -
Method Summary
Modifier and Type Method Description voidafterAllJobsAreExecuted(Summarizer<S> sharedState, org.anchoranalysis.io.output.outputter.InputOutputContext context)Summarizer<S>beforeAnyJobIsExecuted(org.anchoranalysis.io.output.outputter.Outputter outputter, org.anchoranalysis.inference.concurrency.ConcurrencyPlan concurrencyPlan, List<T> inputs, org.anchoranalysis.experiment.task.ParametersExperiment parameters)voiddoJobOnInput(org.anchoranalysis.experiment.task.InputBound<T,Summarizer<S>> input)protected abstract SextractObjectForSummary(T input)Extract object for summary.Summarizer<S>getSummarizer()booleanhasVeryQuickPerInputExecution()voidsetSummarizer(Summarizer<S> summarizer)Methods inherited from class org.anchoranalysis.experiment.bean.task.Task
defaultOutputs, executeJob, inputTypesExpected, isInputCompatibleWith
-
Constructor Details
-
SummarizeBase
public SummarizeBase()
-
-
Method Details
-
beforeAnyJobIsExecuted
public Summarizer<S> beforeAnyJobIsExecuted(org.anchoranalysis.io.output.outputter.Outputter outputter, org.anchoranalysis.inference.concurrency.ConcurrencyPlan concurrencyPlan, List<T> inputs, org.anchoranalysis.experiment.task.ParametersExperiment parameters) throws org.anchoranalysis.experiment.ExperimentExecutionException- Specified by:
beforeAnyJobIsExecutedin classorg.anchoranalysis.experiment.bean.task.Task<T extends org.anchoranalysis.io.input.InputFromManager,Summarizer<S>>- Throws:
org.anchoranalysis.experiment.ExperimentExecutionException
-
doJobOnInput
public void doJobOnInput(org.anchoranalysis.experiment.task.InputBound<T,Summarizer<S>> input) throws org.anchoranalysis.experiment.JobExecutionException- Specified by:
doJobOnInputin classorg.anchoranalysis.experiment.bean.task.Task<T extends org.anchoranalysis.io.input.InputFromManager,Summarizer<S>>- Throws:
org.anchoranalysis.experiment.JobExecutionException
-
afterAllJobsAreExecuted
public void afterAllJobsAreExecuted(Summarizer<S> sharedState, org.anchoranalysis.io.output.outputter.InputOutputContext context) throws org.anchoranalysis.experiment.ExperimentExecutionException- Specified by:
afterAllJobsAreExecutedin classorg.anchoranalysis.experiment.bean.task.Task<T extends org.anchoranalysis.io.input.InputFromManager,Summarizer<S>>- Throws:
org.anchoranalysis.experiment.ExperimentExecutionException
-
hasVeryQuickPerInputExecution
public boolean hasVeryQuickPerInputExecution()- Specified by:
hasVeryQuickPerInputExecutionin classorg.anchoranalysis.experiment.bean.task.Task<T extends org.anchoranalysis.io.input.InputFromManager,Summarizer<S>>
-
extractObjectForSummary
Extract object for summary. -
getSummarizer
-
setSummarizer
-