Enum Class GrouperLoaderStatus
- All Implemented Interfaces:
Serializable
,Comparable<GrouperLoaderStatus>
,Constable
status of a job
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionjob cant even startjob didnt finish, it had problemsif there is a failsafe errorjob is runningjob was startedjob finished but there were problems with one or more subjects (e.g.job finished with successjob finished, but had problems. -
Method Summary
Modifier and TypeMethodDescriptionfriendly string e.g.boolean
isError()
if this is an errorstatic GrouperLoaderStatus
Returns the enum constant of this class with the specified name.static GrouperLoaderStatus
valueOfIgnoreCase
(String string, boolean exceptionOnBlank) do a case-insensitive matchingstatic GrouperLoaderStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STARTED
job was started -
RUNNING
job is running -
CONFIG_ERROR
job cant even start -
SUBJECT_PROBLEMS
job finished but there were problems with one or more subjects (e.g. not found, duplicate, unresolvable) -
SUCCESS
job finished with success -
WARNING
job finished, but had problems. Or maybe some subjobs ok, some not -
ERROR
job didnt finish, it had problems -
ERROR_FAILSAFE
if there is a failsafe error
-
-
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
-
getFriendlyString
friendly string e.g. for report- Returns:
- the friendly string
-
isError
public boolean isError()if this is an error- Returns:
-
valueOfIgnoreCase
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
-