Class HelloWorld<S extends InputFromManager>
- Type Parameters:
S- the type ofInputFromManagerexpected
A dummy task that simply writes a message to all log files, specifically: 1. log file for
experiment 2. log file for each input-object
The message is:
- a line saying Hello World.
- a recommendation to replace the task with a specific task.
- a link to a page on the Anchor website showing predefined tasks.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoJobOnInput(InputBound<S, NoSharedState> input) Performs the task on a particular input.booleanIs the execution-time of the task per-input expected to be very quick to execute?Highest class(es) that will function as a valid input.Methods inherited from class org.anchoranalysis.experiment.bean.task.TaskWithoutSharedState
afterAllJobsAreExecuted, beforeAnyJobIsExecutedMethods inherited from class org.anchoranalysis.experiment.bean.task.Task
defaultOutputs, executeJob, isInputCompatibleWithMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
HelloWorld
public HelloWorld()
-
-
Method Details
-
inputTypesExpected
Description copied from class:TaskHighest class(es) that will function as a valid input.This is usually the class of T (or sometimes the absolute base class InputFromManager).
- Specified by:
inputTypesExpectedin classTask<S extends InputFromManager,NoSharedState> - Returns:
- the input-types that a task expects.
-
doJobOnInput
Description copied from class:TaskPerforms the task on a particular input.- Specified by:
doJobOnInputin classTask<S extends InputFromManager,NoSharedState> - Parameters:
input- the input for the job.- Throws:
JobExecutionException- if an error occurs executing a particular job, that is not otherwise suppressed.
-
hasVeryQuickPerInputExecution
public boolean hasVeryQuickPerInputExecution()Description copied from class:TaskIs the execution-time of the task per-input expected to be very quick to execute?- Specified by:
hasVeryQuickPerInputExecutionin classTask<S extends InputFromManager,NoSharedState> - Returns:
- true iff the execution is expected to be very quick, false otherwise.
-