SMILA 1.0 API documentation

org.eclipse.smila.jobmanager.definitions
Class WorkerDefinition.Output

java.lang.Object
  extended by org.eclipse.smila.jobmanager.definitions.WorkerDefinition.InputOutput<OutputMode>
      extended by org.eclipse.smila.jobmanager.definitions.WorkerDefinition.Output
Enclosing class:
WorkerDefinition

public static class WorkerDefinition.Output
extends WorkerDefinition.InputOutput<OutputMode>

represents an Output node.


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

Constructor Detail

WorkerDefinition.Output

public WorkerDefinition.Output(AnyMap outputAny)
                        throws InvalidDefinitionException
Constructs an Ouptut.

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

getMode

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

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

getGroup

public java.lang.String getGroup()
Returns:
the _group

toAny

public Any toAny()
          throws java.lang.Exception
Converts the object to an Any.

Overrides:
toAny in class WorkerDefinition.InputOutput<OutputMode>
Returns:
The object as Any.
Throws:
java.lang.Exception - exception while converting object to Any.

SMILA 1.0 API documentation