Package gov.nasa.pds.tools.validate
Enum Class ProblemCategory
- All Implemented Interfaces:
Serializable,Comparable<ProblemCategory>,Constable
Defines categories of problems. Beyond the ExceptionType (ERROR, WARNING, etc.) there is a need
for an additional level of grouping errors and exceptions.
-
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 TypeMethodDescriptiongetKey()Gets the key for mapping the problem type to a UI string.static ProblemCategoryReturns the enum constant of this class with the specified name.static ProblemCategory[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PRODUCT
Problems with individual product validation -
INTEGRITY
Problems with referential integrity validation -
GENERAL
General problems with overall validation of the known targets. -
EXECUTION
Problems with execution of the tool.
-
-
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
-
getKey
Gets the key for mapping the problem type to a UI string.- Returns:
- the key string
-