com.continuent.tungsten.common.cluster.resource
Enum ResourceType
java.lang.Object
java.lang.Enum<ResourceType>
com.continuent.tungsten.common.cluster.resource.ResourceType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ResourceType>
public enum ResourceType
- extends java.lang.Enum<ResourceType>
- implements java.io.Serializable
|
Method Summary |
static ResourceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ResourceType[] |
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 |
ROOT
public static final ResourceType ROOT
EVENT
public static final ResourceType EVENT
CLUSTER
public static final ResourceType CLUSTER
MANAGER
public static final ResourceType MANAGER
MEMBER
public static final ResourceType MEMBER
FOLDER
public static final ResourceType FOLDER
QUEUE
public static final ResourceType QUEUE
CONFIGURATION
public static final ResourceType CONFIGURATION
PROCESS
public static final ResourceType PROCESS
RESOURCE_MANAGER
public static final ResourceType RESOURCE_MANAGER
POLICY_MANAGER
public static final ResourceType POLICY_MANAGER
OPERATION
public static final ResourceType OPERATION
DATASOURCE
public static final ResourceType DATASOURCE
MONITOR
public static final ResourceType MONITOR
DATASERVER
public static final ResourceType DATASERVER
HOST
public static final ResourceType HOST
SQLROUTER
public static final ResourceType SQLROUTER
REPLICATOR
public static final ResourceType REPLICATOR
REPLICATION_SERVICE
public static final ResourceType REPLICATION_SERVICE
SERVICE_MANAGER
public static final ResourceType SERVICE_MANAGER
SERVICE
public static final ResourceType SERVICE
DIRECTORY
public static final ResourceType DIRECTORY
DIRECTORY_SESSION
public static final ResourceType DIRECTORY_SESSION
UNDEFINED
public static final ResourceType UNDEFINED
EXTENSION
public static final ResourceType EXTENSION
NONE
public static final ResourceType NONE
ANY
public static final ResourceType ANY
values
public static ResourceType[] 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 (ResourceType c : ResourceType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ResourceType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null