public static class WorkerDefinition.Output extends WorkerDefinition.InputOutput<OutputMode>
Constructor and Description |
---|
WorkerDefinition.Output(AnyMap outputAny)
Constructs an Ouptut.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getModes, getName, getType, toString
public WorkerDefinition.Output(AnyMap outputAny) throws InvalidDefinitionException
outputAny
- The Any object from which this output should be constructed.InvalidDefinitionException
- An error occurred during the conversion of the Any object.protected OutputMode getMode(java.lang.String modeName)
getMode
in class WorkerDefinition.InputOutput<OutputMode>
modeName
- The mode name.public java.lang.String getGroup()
public Any toAny()
toAny
in class WorkerDefinition.InputOutput<OutputMode>