Enum Class GrouperLoaderStatus

java.lang.Object
java.lang.Enum<GrouperLoaderStatus>
edu.internet2.middleware.grouper.app.loader.GrouperLoaderStatus
All Implemented Interfaces:
Serializable, Comparable<GrouperLoaderStatus>, Constable

public enum GrouperLoaderStatus extends Enum<GrouperLoaderStatus>
status of a job
  • Enum Constant Details

    • STARTED

      public static final GrouperLoaderStatus STARTED
      job was started
    • RUNNING

      public static final GrouperLoaderStatus RUNNING
      job is running
    • CONFIG_ERROR

      public static final GrouperLoaderStatus CONFIG_ERROR
      job cant even start
    • SUBJECT_PROBLEMS

      public static final GrouperLoaderStatus SUBJECT_PROBLEMS
      job finished but there were problems with one or more subjects (e.g. not found, duplicate, unresolvable)
    • SUCCESS

      public static final GrouperLoaderStatus SUCCESS
      job finished with success
    • WARNING

      public static final GrouperLoaderStatus WARNING
      job finished, but had problems. Or maybe some subjobs ok, some not
    • ERROR

      public static final GrouperLoaderStatus ERROR
      job didnt finish, it had problems
    • ERROR_FAILSAFE

      public static final GrouperLoaderStatus ERROR_FAILSAFE
      if there is a failsafe error
  • Method Details

    • values

      public static GrouperLoaderStatus[] 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 GrouperLoaderStatus 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
    • getFriendlyString

      public String getFriendlyString()
      friendly string e.g. for report
      Returns:
      the friendly string
    • isError

      public boolean isError()
      if this is an error
      Returns:
    • valueOfIgnoreCase

      public static GrouperLoaderStatus valueOfIgnoreCase(String string, boolean exceptionOnBlank)
      do a case-insensitive matching
      Parameters:
      string -
      exceptionOnBlank - true to throw exception if string is blank
      Returns:
      the enum or null or exception if not found