Enum Class CassandraRelevantEnv

java.lang.Object
java.lang.Enum<CassandraRelevantEnv>
org.apache.cassandra.config.CassandraRelevantEnv
All Implemented Interfaces:
Serializable, Comparable<CassandraRelevantEnv>, Constable

public enum CassandraRelevantEnv extends Enum<CassandraRelevantEnv>
  • Enum Constant Details

    • JAVA_HOME

      public static final CassandraRelevantEnv 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

      public static final CassandraRelevantEnv CIRCLECI
    • CASSANDRA_SKIP_SYNC

      public static final CassandraRelevantEnv CASSANDRA_SKIP_SYNC
  • Method Details

    • values

      public static CassandraRelevantEnv[] 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

      public static CassandraRelevantEnv valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getString

      public String 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

      public String getKey()