org.weborganic.berlioz.content
Enum ServiceStatusRule.CodeRule

java.lang.Object
  extended by java.lang.Enum<ServiceStatusRule.CodeRule>
      extended by org.weborganic.berlioz.content.ServiceStatusRule.CodeRule
All Implemented Interfaces:
Serializable, Comparable<ServiceStatusRule.CodeRule>
Enclosing class:
ServiceStatusRule

public static enum ServiceStatusRule.CodeRule
extends Enum<ServiceStatusRule.CodeRule>

How is the status code for the determined.


Enum Constant Summary
FIRST
          The first selected generator.
HIGHEST
          The highest code by a selected generator.
LOWEST
          The highest code by a selected generator.
 
Method Summary
static ServiceStatusRule.CodeRule valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ServiceStatusRule.CodeRule[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FIRST

public static final ServiceStatusRule.CodeRule FIRST
The first selected generator.


HIGHEST

public static final ServiceStatusRule.CodeRule HIGHEST
The highest code by a selected generator.


LOWEST

public static final ServiceStatusRule.CodeRule LOWEST
The highest code by a selected generator.

Method Detail

values

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

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

valueOf

public static ServiceStatusRule.CodeRule 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