Class HelloWorld<S extends InputFromManager>

Object
AnchorBean<Task<S, NoSharedState>>
Task<S, NoSharedState>
TaskWithoutSharedState<S>
HelloWorld<S>
Type Parameters:
S - the type of InputFromManager expected

public class HelloWorld<S extends InputFromManager> extends TaskWithoutSharedState<S>
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:

  1. a line saying Hello World.
  2. a recommendation to replace the task with a specific task.
  3. a link to a page on the Anchor website showing predefined tasks.
Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    doJobOnInput(InputBound<S, NoSharedState> input)
     
    boolean
     
    InputTypesExpected
     

    Methods inherited from class org.anchoranalysis.experiment.bean.task.TaskWithoutSharedState

    afterAllJobsAreExecuted, beforeAnyJobIsExecuted

    Methods inherited from class org.anchoranalysis.experiment.bean.task.Task

    defaultOutputs, executeJob, isInputCompatibleWith

    Methods inherited from class org.anchoranalysis.bean.AnchorBean

    checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • HelloWorld

      public HelloWorld()
  • Method Details

    • inputTypesExpected

      public InputTypesExpected inputTypesExpected()
      Specified by:
      inputTypesExpected in class Task<S extends InputFromManager, NoSharedState>
    • doJobOnInput

      public void doJobOnInput(InputBound<S, NoSharedState> input) throws JobExecutionException
      Specified by:
      doJobOnInput in class Task<S extends InputFromManager, NoSharedState>
      Throws:
      JobExecutionException
    • hasVeryQuickPerInputExecution

      public boolean hasVeryQuickPerInputExecution()
      Specified by:
      hasVeryQuickPerInputExecution in class Task<S extends InputFromManager, NoSharedState>