com.evolveum.midpoint.task.api
Enum NodeExecutionStatus

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

public enum NodeExecutionStatus
extends Enum<NodeExecutionStatus>

Status of this node w.r.t. error conditions. Generally speaking, if NodeErrorStatus != OK, tasks cannot be scheduled on this node.

Author:
Pavol Mederly

Enum Constant Summary
COMMUNICATION_ERROR
          Status unknown due to communication error.
DOWN
          Node down (only for remote nodes, of course)
ERROR
          Node error (see NodeErrorStatus for more details).
PAUSED
          Node is running, scheduler is paused.
RUNNING
          Node is running, task scheduler is running.
 
Method Summary
static NodeExecutionStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static NodeExecutionStatus[] 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

RUNNING

public static final NodeExecutionStatus RUNNING
Node is running, task scheduler is running.


PAUSED

public static final NodeExecutionStatus PAUSED
Node is running, scheduler is paused.


DOWN

public static final NodeExecutionStatus DOWN
Node down (only for remote nodes, of course)


ERROR

public static final NodeExecutionStatus ERROR
Node error (see NodeErrorStatus for more details).


COMMUNICATION_ERROR

public static final NodeExecutionStatus COMMUNICATION_ERROR
Status unknown due to communication error.

Method Detail

values

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

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

valueOf

public static NodeExecutionStatus 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


Copyright © 2013 evolveum. All Rights Reserved.