Package org.apache.heron.spi.common
Enum Key
- java.lang.Object
-
- java.lang.Enum<Key>
-
- org.apache.heron.spi.common.Key
-
- All Implemented Interfaces:
Serializable
,Comparable<Key>
public enum Key extends Enum<Key>
Enum of all configuration key values. The following methods exist: name() - return a string representation of the member name (e.g. HERON_HOME) value() - return a key value bound to the enum (e.g. heron.directory.home) getDefault() - return the default value bound to the enum getType() - return the type of the key entry
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Key.Type
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getDefault()
Return the default valueString
getDefaultString()
Key.Type
getType()
String
value()
Get the key value for this enum (i.e., heron.directory.home)static Key
valueOf(String name)
Returns the enum constant of this type with the specified name.static Key[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HERON_HOME
public static final Key HERON_HOME
-
HERON_BIN
public static final Key HERON_BIN
-
HERON_CONF
public static final Key HERON_CONF
-
HERON_LIB
public static final Key HERON_LIB
-
HERON_DIST
public static final Key HERON_DIST
-
HERON_ETC
public static final Key HERON_ETC
-
JAVA_HOME
public static final Key JAVA_HOME
-
CLUSTER_YAML
public static final Key CLUSTER_YAML
-
CLIENT_YAML
public static final Key CLIENT_YAML
-
HEALTHMGR_YAML
public static final Key HEALTHMGR_YAML
-
METRICS_YAML
public static final Key METRICS_YAML
-
PACKING_YAML
public static final Key PACKING_YAML
-
SCHEDULER_YAML
public static final Key SCHEDULER_YAML
-
STATEMGR_YAML
public static final Key STATEMGR_YAML
-
SYSTEM_YAML
public static final Key SYSTEM_YAML
-
UPLOADER_YAML
public static final Key UPLOADER_YAML
-
DOWNLOADER_YAML
public static final Key DOWNLOADER_YAML
-
STATEFUL_YAML
public static final Key STATEFUL_YAML
-
CLUSTER
public static final Key CLUSTER
-
ROLE
public static final Key ROLE
-
ENVIRON
public static final Key ENVIRON
-
SUBMIT_USER
public static final Key SUBMIT_USER
-
DRY_RUN
public static final Key DRY_RUN
-
DRY_RUN_FORMAT_TYPE
public static final Key DRY_RUN_FORMAT_TYPE
-
VERBOSE
public static final Key VERBOSE
-
VERBOSE_GC
public static final Key VERBOSE_GC
-
CONFIG_PROPERTY
public static final Key CONFIG_PROPERTY
-
BUILD_VERSION
public static final Key BUILD_VERSION
-
BUILD_TIME
public static final Key BUILD_TIME
-
BUILD_TIMESTAMP
public static final Key BUILD_TIMESTAMP
-
BUILD_HOST
public static final Key BUILD_HOST
-
BUILD_USER
public static final Key BUILD_USER
-
UPLOADER_CLASS
public static final Key UPLOADER_CLASS
-
LAUNCHER_CLASS
public static final Key LAUNCHER_CLASS
-
SCHEDULER_CLASS
public static final Key SCHEDULER_CLASS
-
PACKING_CLASS
public static final Key PACKING_CLASS
-
REPACKING_CLASS
public static final Key REPACKING_CLASS
-
STATE_MANAGER_CLASS
public static final Key STATE_MANAGER_CLASS
-
AURORA_CONTROLLER_CLASS
public static final Key AURORA_CONTROLLER_CLASS
-
SCHEDULER_IS_SERVICE
public static final Key SCHEDULER_IS_SERVICE
-
SCHEDULER_PROPERTIES
public static final Key SCHEDULER_PROPERTIES
-
SCHEDULER_JAR
public static final Key SCHEDULER_JAR
-
INTERNALS_CONFIG_FILE
public static final Key INTERNALS_CONFIG_FILE
-
CORE_PACKAGE_DIRECTORY
public static final Key CORE_PACKAGE_DIRECTORY
-
CORE_PACKAGE_URI
public static final Key CORE_PACKAGE_URI
-
USE_CORE_PACKAGE_URI
public static final Key USE_CORE_PACKAGE_URI
-
TOPOLOGY_PACKAGE_URI
public static final Key TOPOLOGY_PACKAGE_URI
-
TOPOLOGY_ID
public static final Key TOPOLOGY_ID
-
TOPOLOGY_NAME
public static final Key TOPOLOGY_NAME
-
TOPOLOGY_DEFINITION_FILE
public static final Key TOPOLOGY_DEFINITION_FILE
-
TOPOLOGY_DEFINITION
public static final Key TOPOLOGY_DEFINITION
-
TOPOLOGY_BINARY_FILE
public static final Key TOPOLOGY_BINARY_FILE
-
TOPOLOGY_PACKAGE_FILE
public static final Key TOPOLOGY_PACKAGE_FILE
-
TOPOLOGY_PACKAGE_TYPE
public static final Key TOPOLOGY_PACKAGE_TYPE
-
TOPOLOGY_CONTAINER_ID
public static final Key TOPOLOGY_CONTAINER_ID
-
SCHEDULER_PROXY_CONNECTION_STRING
public static final Key SCHEDULER_PROXY_CONNECTION_STRING
-
SCHEDULER_PROXY_CONNECTION_TYPE
public static final Key SCHEDULER_PROXY_CONNECTION_TYPE
-
STATEMGR_CONNECTION_STRING
public static final Key STATEMGR_CONNECTION_STRING
-
STATEMGR_ROOT_PATH
public static final Key STATEMGR_ROOT_PATH
-
STMGR_RAM
public static final Key STMGR_RAM
-
CKPTMGR_RAM
public static final Key CKPTMGR_RAM
-
METRICSMGR_RAM
public static final Key METRICSMGR_RAM
-
INSTANCE_RAM
public static final Key INSTANCE_RAM
-
INSTANCE_CPU
public static final Key INSTANCE_CPU
-
INSTANCE_DISK
public static final Key INSTANCE_DISK
-
STATEFUL_STORAGE_CLASSNAME
public static final Key STATEFUL_STORAGE_CLASSNAME
-
STATEFUL_STORAGE_CONF
public static final Key STATEFUL_STORAGE_CONF
-
STATEFUL_STORAGE_CUSTOM_CLASSPATH
public static final Key STATEFUL_STORAGE_CUSTOM_CLASSPATH
-
METRICSCACHEMGR_MODE
public static final Key METRICSCACHEMGR_MODE
-
HEALTHMGR_MODE
public static final Key HEALTHMGR_MODE
-
INSTANCE_CLASSPATH
public static final Key INSTANCE_CLASSPATH
-
HEALTHMGR_CLASSPATH
public static final Key HEALTHMGR_CLASSPATH
-
METRICSMGR_CLASSPATH
public static final Key METRICSMGR_CLASSPATH
-
METRICSCACHEMGR_CLASSPATH
public static final Key METRICSCACHEMGR_CLASSPATH
-
PACKING_CLASSPATH
public static final Key PACKING_CLASSPATH
-
SCHEDULER_CLASSPATH
public static final Key SCHEDULER_CLASSPATH
-
STATEMGR_CLASSPATH
public static final Key STATEMGR_CLASSPATH
-
UPLOADER_CLASSPATH
public static final Key UPLOADER_CLASSPATH
-
CKPTMGR_CLASSPATH
public static final Key CKPTMGR_CLASSPATH
-
STATEFULSTORAGE_CLASSPATH
public static final Key STATEFULSTORAGE_CLASSPATH
-
TOPOLOGY_CLASSPATH
public static final Key TOPOLOGY_CLASSPATH
-
SCHEDULER_STATE_MANAGER_ADAPTOR
public static final Key SCHEDULER_STATE_MANAGER_ADAPTOR
-
SCHEDULER_SHUTDOWN
public static final Key SCHEDULER_SHUTDOWN
-
PACKING_CLASS_INSTANCE
public static final Key PACKING_CLASS_INSTANCE
-
LAUNCHER_CLASS_INSTANCE
public static final Key LAUNCHER_CLASS_INSTANCE
-
COMPONENT_RAMMAP
public static final Key COMPONENT_RAMMAP
-
COMPONENT_JVM_OPTS_IN_BASE64
public static final Key COMPONENT_JVM_OPTS_IN_BASE64
-
INSTANCE_JVM_OPTS_IN_BASE64
public static final Key INSTANCE_JVM_OPTS_IN_BASE64
-
NUM_CONTAINERS
public static final Key NUM_CONTAINERS
-
DOWNLOADER_PROTOCOLS
public static final Key DOWNLOADER_PROTOCOLS
-
HERON_RELEASE_PACKAGE
public static final Key HERON_RELEASE_PACKAGE
-
HERON_RELEASE_PACKAGE_ROLE
public static final Key HERON_RELEASE_PACKAGE_ROLE
-
HERON_RELEASE_PACKAGE_NAME
public static final Key HERON_RELEASE_PACKAGE_NAME
-
HERON_RELEASE_PACKAGE_VERSION
public static final Key HERON_RELEASE_PACKAGE_VERSION
-
HERON_UPLOADER_VERSION
public static final Key HERON_UPLOADER_VERSION
-
HERON_CLUSTER_HOME
public static final Key HERON_CLUSTER_HOME
-
HERON_CLUSTER_CONF
public static final Key HERON_CLUSTER_CONF
-
HERON_CLUSTER_JAVA_HOME
public static final Key HERON_CLUSTER_JAVA_HOME
-
OVERRIDE_YAML
public static final Key OVERRIDE_YAML
-
APISERVER_OVERRIDE_YAML
public static final Key APISERVER_OVERRIDE_YAML
-
EXECUTOR_BINARY
public static final Key EXECUTOR_BINARY
-
STMGR_BINARY
public static final Key STMGR_BINARY
-
TMANAGER_BINARY
public static final Key TMANAGER_BINARY
-
SHELL_BINARY
public static final Key SHELL_BINARY
-
PYTHON_INSTANCE_BINARY
public static final Key PYTHON_INSTANCE_BINARY
-
CPP_INSTANCE_BINARY
public static final Key CPP_INSTANCE_BINARY
-
DOWNLOADER_BINARY
public static final Key DOWNLOADER_BINARY
-
DOWNLOADER_CONF
public static final Key DOWNLOADER_CONF
-
UPDATE_PROMPT
public static final Key UPDATE_PROMPT
-
-
Method Detail
-
values
public static Key[] 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 (Key c : Key.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Key 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 nameNullPointerException
- if the argument is null
-
value
public String value()
Get the key value for this enum (i.e., heron.directory.home)- Returns:
- key value
-
getType
public Key.Type getType()
-
getDefault
public Object getDefault()
Return the default value
-
getDefaultString
public String getDefaultString()
-
-