Enum Class SourceStatus
- All Implemented Interfaces:
Serializable,Comparable<SourceStatus>,Constable
Lifecycle status for a known harvest source.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSource is enabled and eligible for queuing.Source has an existing cached copy of its records, i.e.Source has been manually disabled by an operator.Last harvest attempt failed.Source has been capped by a discovery policy limit (depth, catalog size, etc.).Source has been submitted to the work queue and is waiting to be processed.Source was inspected and found not to be a valid harvestable registry.A harvest of this source is currently in progress. -
Method Summary
Modifier and TypeMethodDescriptionstatic SourceStatusReturns the enum constant of this class with the specified name.static SourceStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACTIVE
Source is enabled and eligible for queuing. -
QUEUED
Source has been submitted to the work queue and is waiting to be processed. -
RUNNING
A harvest of this source is currently in progress. -
FAILED
Last harvest attempt failed. Source will be retried on the next scheduler cycle. -
REJECTED
Source was inspected and found not to be a valid harvestable registry. -
DISABLED
Source has been manually disabled by an operator. -
CACHED
Source has an existing cached copy of its records, i.e. ready for intial import -
LIMITED
Source has been capped by a discovery policy limit (depth, catalog size, etc.).
-
-
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
-