SMILA (incubation) API documentation

org.eclipse.smila.jobmanager
Enum WorkerDefinition.InputMode

java.lang.Object
  extended by java.lang.Enum<WorkerDefinition.InputMode>
      extended by org.eclipse.smila.jobmanager.WorkerDefinition.InputMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<WorkerDefinition.InputMode>
Enclosing class:
WorkerDefinition

public static enum WorkerDefinition.InputMode
extends java.lang.Enum<WorkerDefinition.InputMode>

Input modes.


Enum Constant Summary
MULTIPLE
          Worker expects multiple values for this input slot.
QUALIFIER
          Worker uses "Conditional GET" to select tasks with certain objects for this input slot.
 
Method Summary
 java.lang.String toString()
          
static WorkerDefinition.InputMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static WorkerDefinition.InputMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

QUALIFIER

public static final WorkerDefinition.InputMode QUALIFIER
Worker uses "Conditional GET" to select tasks with certain objects for this input slot.


MULTIPLE

public static final WorkerDefinition.InputMode MULTIPLE
Worker expects multiple values for this input slot.

Method Detail

values

public static WorkerDefinition.InputMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (WorkerDefinition.InputMode c : WorkerDefinition.InputMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static WorkerDefinition.InputMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Enum<WorkerDefinition.InputMode>

SMILA (incubation) API documentation