T - The Modes to use.public abstract static class WorkerDefinition.InputOutput<T extends java.lang.Enum<T>>
extends java.lang.Object
| Constructor and Description | 
|---|
WorkerDefinition.InputOutput(AnyMap any)
Constructs an input or putput from an Any. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected abstract T | 
getMode(java.lang.String modeName)
Gets the Mode for the given modeName. 
 | 
java.util.Collection<T> | 
getModes()  | 
java.lang.String | 
getName()  | 
java.lang.String | 
getType()  | 
Any | 
toAny()
Converts the object to an Any. 
 | 
java.lang.String | 
toString() | 
public WorkerDefinition.InputOutput(AnyMap any) throws InvalidDefinitionException
any - The Any object from which this instance should be constructed.InvalidDefinitionException - An error occurred during the conversion of the Any object.protected abstract T getMode(java.lang.String modeName)
modeName - The mode name.public java.lang.String getName()
public java.lang.String getType()
public java.util.Collection<T> getModes()
public java.lang.String toString()
toString in class java.lang.Objectpublic Any toAny()