Enum Class BlockSpecTextCodec.Severity

java.lang.Object
java.lang.Enum<BlockSpecTextCodec.Severity>
edu.cmu.tetrad.search.blocks.BlockSpecTextCodec.Severity
All Implemented Interfaces:
Serializable, Comparable<BlockSpecTextCodec.Severity>, Constable
Enclosing class:
BlockSpecTextCodec

public static enum BlockSpecTextCodec.Severity extends Enum<BlockSpecTextCodec.Severity>
Represents the severity level of a condition or situation.

The severity levels can either be ERROR, indicating a critical issue, or WARNING, indicating a less critical issue that might still require attention.

  • Enum Constant Details

    • ERROR

      public static final BlockSpecTextCodec.Severity ERROR
      Represents a critical issue that requires immediate attention.

      ERROR is used to indicate situations where a significant problem has occurred that needs to be addressed to ensure proper functionality or operation of the system.

    • WARNING

      public static final BlockSpecTextCodec.Severity WARNING
      Represents a less critical issue that might still require attention.

      WARNING indicates a condition or situation that does not prevent the system from functioning but could potentially lead to issues or requires awareness to maintain optimal operation.

  • Method Details

    • values

      public static BlockSpecTextCodec.Severity[] 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 BlockSpecTextCodec.Severity 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