Package edu.cmu.tetrad.search.blocks
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
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic BlockSpecTextCodec.SeverityReturns the enum constant of this class with the specified name.static BlockSpecTextCodec.Severity[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
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
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
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
-