Enum Class DiagnosticType
- All Implemented Interfaces:
Serializable
,Comparable<DiagnosticType>
,Constable
type of diagnostics to run (trivial, deep, etc)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptiondo the sources test plus the jobsdaemon and loader jobsjust do the trivial plus the database checkdo the DB test plus check the sourcesjust do a trivial memory only test -
Method Summary
Modifier and TypeMethodDescriptionabstract void
appendDiagnostics
(Set<DiagnosticTask> diagnosticsTasks) append the diagnostics for this tasksstatic DiagnosticType
Returns the enum constant of this class with the specified name.static DiagnosticType
valueOfIgnoreCase
(String string, boolean exceptionOnNotFound) do a case-insensitive matchingstatic DiagnosticType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
trivial
just do a trivial memory only test -
db
just do the trivial plus the database check -
sources
do the DB test plus check the sources -
daemonJobsOnly
daemon and loader jobs -
all
do the sources test plus the jobs
-
-
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
-
appendDiagnostics
append the diagnostics for this tasks- Parameters:
diagnosticsTasks
-
-
valueOfIgnoreCase
do a case-insensitive matching- Parameters:
string
-exceptionOnNotFound
- true to throw exception if method not found- Returns:
- the enum or null or exception if not found
- Throws:
GrouperRestInvalidRequest
- if there is a problem
-