SMILA (incubation) API documentation

org.eclipse.smila.jobmanager
Class WorkerDefinition.Input

java.lang.Object
  extended by org.eclipse.smila.jobmanager.WorkerDefinition.InputOutput<WorkerDefinition.InputMode>
      extended by org.eclipse.smila.jobmanager.WorkerDefinition.Input
Enclosing class:
WorkerDefinition

public static class WorkerDefinition.Input
extends WorkerDefinition.InputOutput<WorkerDefinition.InputMode>

represents an Input node.


Constructor Summary
WorkerDefinition.Input(AnyMap outputAny)
          Constructs an Input.
 
Method Summary
protected  WorkerDefinition.InputMode getMode(java.lang.String modeName)
          Gets the Mode for the given modeName.
 
Methods inherited from class org.eclipse.smila.jobmanager.WorkerDefinition.InputOutput
getModes, getName, getType, toAny, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkerDefinition.Input

public WorkerDefinition.Input(AnyMap outputAny)
                       throws InvalidConfigException
Constructs an Input.

Parameters:
outputAny - The Any object from which this input should be constructed.
Throws:
InvalidConfigException - An error occurred during the conversion of the Any input.
Method Detail

getMode

protected WorkerDefinition.InputMode getMode(java.lang.String modeName)
Gets the Mode for the given modeName.

Specified by:
getMode in class WorkerDefinition.InputOutput<WorkerDefinition.InputMode>
Parameters:
modeName - The mode name.
Returns:
The Mode (instance of T)

SMILA (incubation) API documentation