com.sun.faban.harness.common
Enum Config.DaemonModes

java.lang.Object
  extended by java.lang.Enum<Config.DaemonModes>
      extended by com.sun.faban.harness.common.Config.DaemonModes
All Implemented Interfaces:
Serializable, Comparable<Config.DaemonModes>
Enclosing class:
Config

public static enum Config.DaemonModes
extends Enum<Config.DaemonModes>

Enumeration for daemon modes.


Enum Constant Summary
DISABLED
          Repository.
LOCAL
          Standard Faban master.
POLLEE
          Pollee proxy.
POLLER
          Poller mode.
 
Method Summary
static Config.DaemonModes valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Config.DaemonModes[] 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

POLLER

public static final Config.DaemonModes POLLER
Poller mode. Also makes runs.


POLLEE

public static final Config.DaemonModes POLLEE
Pollee proxy. Does not make runs.


LOCAL

public static final Config.DaemonModes LOCAL
Standard Faban master. Make runs, but no polling.


DISABLED

public static final Config.DaemonModes DISABLED
Repository. Runs are disabled.

Method Detail

values

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

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

valueOf

public static Config.DaemonModes 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