Package org.apache.cassandra.config
Enum Class CassandraRelevantEnv
- All Implemented Interfaces:
Serializable,Comparable<CassandraRelevantEnv>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSearching 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. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the value of a system env as a boolean.getKey()static CassandraRelevantEnvReturns the enum constant of this class with the specified name.static CassandraRelevantEnv[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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. -
CIRCLECI
-
CASSANDRA_SKIP_SYNC
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getString
-
getBoolean
public boolean getBoolean()Gets the value of a system env as a boolean.- Returns:
- System env boolean value if it exists, false otherwise.
-
getKey
-