public enum CassandraRelevantEnv extends java.lang.Enum<CassandraRelevantEnv>
Enum Constant and Description |
---|
JAVA_HOME
Searching in the JAVA_HOME is safer than searching into System.getProperty("java.home") as the Oracle
JVM might use the JRE which do not contains jmap.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKey() |
java.lang.String |
getString() |
static CassandraRelevantEnv |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CassandraRelevantEnv[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CassandraRelevantEnv JAVA_HOME
public static CassandraRelevantEnv[] values()
for (CassandraRelevantEnv c : CassandraRelevantEnv.values()) System.out.println(c);
public static CassandraRelevantEnv valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getString()
public java.lang.String getKey()
Copyright © 2009-2021 The Apache Software Foundation