com.evolveum.midpoint.task.api
Enum TaskBinding

java.lang.Object
  extended by java.lang.Enum<TaskBinding>
      extended by com.evolveum.midpoint.task.api.TaskBinding
All Implemented Interfaces:
Serializable, Comparable<TaskBinding>

public enum TaskBinding
extends Enum<TaskBinding>

Binding tells about task "affinity" to a particular node.

Author:
Pavol Mederly

Enum Constant Summary
LOOSE
          TODO
TIGHT
          TODO
 
Method Summary
static TaskBinding fromTaskType(TaskBindingType bindingType)
           
 TaskBindingType toTaskType()
           
static TaskBinding valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TaskBinding[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TIGHT

public static final TaskBinding TIGHT
TODO


LOOSE

public static final TaskBinding LOOSE
TODO

Method Detail

values

public static TaskBinding[] 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 (TaskBinding c : TaskBinding.values())
    System.out.println(c);

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

valueOf

public static TaskBinding valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

fromTaskType

public static TaskBinding fromTaskType(TaskBindingType bindingType)

toTaskType

public TaskBindingType toTaskType()


Copyright © 2013 evolveum. All Rights Reserved.