Enum Class DiagnosticType

java.lang.Object
java.lang.Enum<DiagnosticType>
edu.internet2.middleware.grouper.j2ee.status.DiagnosticType
All Implemented Interfaces:
Serializable, Comparable<DiagnosticType>, Constable

public enum DiagnosticType extends Enum<DiagnosticType>
type of diagnostics to run (trivial, deep, etc)
  • Enum Constant Details

    • trivial

      public static final DiagnosticType trivial
      just do a trivial memory only test
    • db

      public static final DiagnosticType db
      just do the trivial plus the database check
    • sources

      public static final DiagnosticType sources
      do the DB test plus check the sources
    • daemonJobsOnly

      public static final DiagnosticType daemonJobsOnly
      daemon and loader jobs
    • all

      public static final DiagnosticType all
      do the sources test plus the jobs
  • Method Details

    • values

      public static DiagnosticType[] 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 DiagnosticType 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
    • appendDiagnostics

      public abstract void appendDiagnostics(Set<DiagnosticTask> diagnosticsTasks)
      append the diagnostics for this tasks
      Parameters:
      diagnosticsTasks -
    • valueOfIgnoreCase

      public static DiagnosticType valueOfIgnoreCase(String string, boolean exceptionOnNotFound)
      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