org.jboss.dependency.spi
Class ControllerMode

java.lang.Object
  extended by org.jboss.util.JBossObject
      extended by org.jboss.dependency.spi.ControllerMode
All Implemented Interfaces:
Cloneable, org.jboss.util.JBossInterface

public class ControllerMode
extends org.jboss.util.JBossObject

Mode of the context.

Version:
$Revision: 1.3 $
Author:
Adrian Brock

Field Summary
static ControllerMode AUTOMATIC
          Automatic
static ControllerMode DISABLED
          Disabled
static ControllerMode MANUAL
          Manual
protected  String modeString
          The mode string
static ControllerMode ON_DEMAND
          On demand
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, log, toString
 
Constructor Summary
ControllerMode(String modeString)
          Create a new mode
 
Method Summary
 boolean equals(Object object)
           
protected  int getHashCode()
           
 String getModeString()
          Get the mode string
 void toString(org.jboss.util.JBossStringBuilder buffer)
           
 
Methods inherited from class org.jboss.util.JBossObject
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, hashCode, list, notEqual, toShortString, toShortString, toString, toStringImplementation
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

AUTOMATIC

public static final ControllerMode AUTOMATIC
Automatic


ON_DEMAND

public static final ControllerMode ON_DEMAND
On demand


MANUAL

public static final ControllerMode MANUAL
Manual


DISABLED

public static final ControllerMode DISABLED
Disabled


modeString

protected final String modeString
The mode string

Constructor Detail

ControllerMode

public ControllerMode(String modeString)
Create a new mode

Parameters:
modeString - the mode representation
Method Detail

getModeString

public String getModeString()
Get the mode string

Returns:
the mdoe string

equals

public boolean equals(Object object)
Overrides:
equals in class Object

toString

public void toString(org.jboss.util.JBossStringBuilder buffer)
Overrides:
toString in class org.jboss.util.JBossObject

getHashCode

protected int getHashCode()
Overrides:
getHashCode in class org.jboss.util.JBossObject


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.