org.ow2.jonas.cmi.internal
Enum CmiServiceProperty

java.lang.Object
  extended by java.lang.Enum<CmiServiceProperty>
      extended by org.ow2.jonas.cmi.internal.CmiServiceProperty
All Implemented Interfaces:
Serializable, Comparable<CmiServiceProperty>

public enum CmiServiceProperty
extends Enum<CmiServiceProperty>

Properties for CMI service.

Author:
eyindanga

Enum Constant Summary
CLUSTER_BUILD_METHOD
          Key for cluster factory.
CLUSTER_FACTORY_KEY
          Key for cluster factory.
DEFAULT_CLUSTER_FACTORY
          Default cluster factory.
DEFAULT_DEPLOY_DIRECTORY
          Property name for specifying if the replication is enabled.
DEPLOY_DIRECTORY_KEY
          Property name for specifying if the replication is enabled.
 
Method Summary
 String getPropertyName()
           
 String toString()
           
static CmiServiceProperty valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CmiServiceProperty[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DEPLOY_DIRECTORY_KEY

public static final CmiServiceProperty DEPLOY_DIRECTORY_KEY
Property name for specifying if the replication is enabled.


DEFAULT_CLUSTER_FACTORY

public static final CmiServiceProperty DEFAULT_CLUSTER_FACTORY
Default cluster factory.


CLUSTER_FACTORY_KEY

public static final CmiServiceProperty CLUSTER_FACTORY_KEY
Key for cluster factory.


CLUSTER_BUILD_METHOD

public static final CmiServiceProperty CLUSTER_BUILD_METHOD
Key for cluster factory.


DEFAULT_DEPLOY_DIRECTORY

public static final CmiServiceProperty DEFAULT_DEPLOY_DIRECTORY
Property name for specifying if the replication is enabled.

Method Detail

values

public static final CmiServiceProperty[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(CmiServiceProperty c : CmiServiceProperty.values())
        System.out.println(c);

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

valueOf

public static CmiServiceProperty 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

toString

public String toString()
Overrides:
toString in class Enum<CmiServiceProperty>
Returns:
the name of property

getPropertyName

public String getPropertyName()
Returns:
the name of property


Copyright © 2010 OW2 Consortium. All Rights Reserved.