|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.jobmanager.WorkerDefinition.InputOutput<T>
T - The Modes to use.public abstract static class WorkerDefinition.InputOutput<T extends java.lang.Enum<T>>
A helper class to represent Input or Output nodes for worker definitions.
| Constructor Summary | |
|---|---|
WorkerDefinition.InputOutput(AnyMap any)
Constructs an input or putput from an Any. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WorkerDefinition.InputOutput(AnyMap any)
throws InvalidConfigException
any - The Any object from which this instance should be constructed.
InvalidConfigException - An error occurred during the conversion of the Any object.| Method Detail |
|---|
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.Object
public Any toAny()
throws java.lang.Exception
java.lang.Exception - exception while converting object to Any.
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||