com.cisco.oss.foundation.configuration
Enum CcpConstants

java.lang.Object
  extended by java.lang.Enum<CcpConstants>
      extended by com.cisco.oss.foundation.configuration.CcpConstants
All Implemented Interfaces:
Serializable, Comparable<CcpConstants>

public enum CcpConstants
extends Enum<CcpConstants>


Enum Constant Summary
INSTANCE
           
 
Field Summary
static String ARTIFACT_NAME
           
static String ARTIFACT_VERSION
           
static String BASE_INSTALL_PATH
           
static String CCP_COMPONENT_CHECK_DELAY
           
static String CCP_COMPONENT_CHECK_ENABLE
           
static String CCP_CONFIG_FILE
           
static String CCP_DB_PASSWORD
           
static String CCP_DB_URL
           
static String CCP_DB_USER
           
static String CCP_ENABLED
           
static String CCP_PASSWORD_ENCRYPTION
           
static String CCP_SERVER
           
static String CCP_SERVER__HOST_REG_EX
           
static String CCP_SERVER__IPV4_REG_EX
           
static String CCP_SERVER__IPV6_REG_EX
           
static String CCP_SERVER_PORT
           
static String CCP_SERVICE_DISCOVERY_LEASE
           
static String CONFIG_SOURCE
           
static String FQDN
           
static String INSTALL_DIR
           
static String MONITOR_MAX_INNER_PORT
           
static String MONITOR_MAX_RMI_PORT
           
static String REDUNDACY_HEARTBEAT_INTERVAL
           
static String REDUNDACY_HOST
           
static String REDUNDACY_ISPREFERRED_MASTER
           
static String REDUNDANCY_HEARTBEAT_PORT
           
static String REDUNDANCY_ISENABLED
           
static String REDUNDANCY_PEER_HEARTBEAT_PORT
           
static String REDUNDANCY_PEER_HOST
           
static String RPM_SOFTWARE_NAME
           
static String VCS_CONSOLE
           
 
Method Summary
static CcpConstants valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CcpConstants[] 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

INSTANCE

public static final CcpConstants INSTANCE
Field Detail

CCP_SERVER__HOST_REG_EX

public static final String CCP_SERVER__HOST_REG_EX
See Also:
Constant Field Values

CCP_SERVER__IPV4_REG_EX

public static final String CCP_SERVER__IPV4_REG_EX
See Also:
Constant Field Values

CCP_SERVER__IPV6_REG_EX

public static final String CCP_SERVER__IPV6_REG_EX
See Also:
Constant Field Values

CCP_ENABLED

public static final String CCP_ENABLED
See Also:
Constant Field Values

ARTIFACT_VERSION

public static final String ARTIFACT_VERSION
See Also:
Constant Field Values

FQDN

public static final String FQDN
See Also:
Constant Field Values

ARTIFACT_NAME

public static final String ARTIFACT_NAME
See Also:
Constant Field Values

RPM_SOFTWARE_NAME

public static final String RPM_SOFTWARE_NAME
See Also:
Constant Field Values

INSTALL_DIR

public static final String INSTALL_DIR
See Also:
Constant Field Values

CCP_CONFIG_FILE

public static final String CCP_CONFIG_FILE
See Also:
Constant Field Values

VCS_CONSOLE

public static final String VCS_CONSOLE
See Also:
Constant Field Values

CCP_SERVER_PORT

public static final String CCP_SERVER_PORT
See Also:
Constant Field Values

CCP_SERVER

public static final String CCP_SERVER
See Also:
Constant Field Values

CCP_DB_URL

public static final String CCP_DB_URL
See Also:
Constant Field Values

CCP_DB_USER

public static final String CCP_DB_USER
See Also:
Constant Field Values

CCP_DB_PASSWORD

public static final String CCP_DB_PASSWORD
See Also:
Constant Field Values

BASE_INSTALL_PATH

public static final String BASE_INSTALL_PATH
See Also:
Constant Field Values

CCP_PASSWORD_ENCRYPTION

public static final String CCP_PASSWORD_ENCRYPTION
See Also:
Constant Field Values

CCP_COMPONENT_CHECK_DELAY

public static final String CCP_COMPONENT_CHECK_DELAY
See Also:
Constant Field Values

CCP_COMPONENT_CHECK_ENABLE

public static final String CCP_COMPONENT_CHECK_ENABLE
See Also:
Constant Field Values

REDUNDANCY_ISENABLED

public static final String REDUNDANCY_ISENABLED
See Also:
Constant Field Values

REDUNDANCY_PEER_HOST

public static final String REDUNDANCY_PEER_HOST
See Also:
Constant Field Values

REDUNDANCY_PEER_HEARTBEAT_PORT

public static final String REDUNDANCY_PEER_HEARTBEAT_PORT
See Also:
Constant Field Values

REDUNDACY_HOST

public static final String REDUNDACY_HOST
See Also:
Constant Field Values

REDUNDANCY_HEARTBEAT_PORT

public static final String REDUNDANCY_HEARTBEAT_PORT
See Also:
Constant Field Values

REDUNDACY_ISPREFERRED_MASTER

public static final String REDUNDACY_ISPREFERRED_MASTER
See Also:
Constant Field Values

REDUNDACY_HEARTBEAT_INTERVAL

public static final String REDUNDACY_HEARTBEAT_INTERVAL
See Also:
Constant Field Values

MONITOR_MAX_INNER_PORT

public static final String MONITOR_MAX_INNER_PORT
See Also:
Constant Field Values

MONITOR_MAX_RMI_PORT

public static final String MONITOR_MAX_RMI_PORT
See Also:
Constant Field Values

CCP_SERVICE_DISCOVERY_LEASE

public static final String CCP_SERVICE_DISCOVERY_LEASE
See Also:
Constant Field Values

CONFIG_SOURCE

public static final String CONFIG_SOURCE
See Also:
Constant Field Values
Method Detail

values

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

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

valueOf

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


Copyright © 2014 Cisco. All Rights Reserved.