com.evolveum.midpoint.task.api
Enum NodeErrorStatus

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

public enum NodeErrorStatus
extends Enum<NodeErrorStatus>

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
DUPLICATE_NODE_ID_OR_NAME
          More nodes with the same ID or name (currently ID == name).
LOCAL_CONFIGURATION_ERROR
          Local task manager is not configured properly, so it can be even started.
LOCAL_INITIALIZATION_ERROR
          Other kind of initialization error.
NODE_REGISTRATION_FAILED
          It was not possible to register node in repository due to a permanent error.
NON_CLUSTERED_NODE_WITH_OTHERS
          A non-clustered node runs along other (clustered or non-clustered) nodes.
OK
          Everything is OK.
 
Method Summary
static NodeErrorStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static NodeErrorStatus[] 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

OK

public static final NodeErrorStatus OK
Everything is OK.


DUPLICATE_NODE_ID_OR_NAME

public static final NodeErrorStatus DUPLICATE_NODE_ID_OR_NAME
More nodes with the same ID or name (currently ID == name).


NON_CLUSTERED_NODE_WITH_OTHERS

public static final NodeErrorStatus NON_CLUSTERED_NODE_WITH_OTHERS
A non-clustered node runs along other (clustered or non-clustered) nodes.


LOCAL_CONFIGURATION_ERROR

public static final NodeErrorStatus LOCAL_CONFIGURATION_ERROR
Local task manager is not configured properly, so it can be even started.


LOCAL_INITIALIZATION_ERROR

public static final NodeErrorStatus LOCAL_INITIALIZATION_ERROR
Other kind of initialization error.


NODE_REGISTRATION_FAILED

public static final NodeErrorStatus NODE_REGISTRATION_FAILED
It was not possible to register node in repository due to a permanent error.

Method Detail

values

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

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

valueOf

public static NodeErrorStatus 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.