Enum Class SourceStatus

java.lang.Object
java.lang.Enum<SourceStatus>
org.javastro.ivoa.registry.harvesting.SourceStatus
All Implemented Interfaces:
Serializable, Comparable<SourceStatus>, Constable

public enum SourceStatus extends Enum<SourceStatus>
Lifecycle status for a known harvest source.
  • Enum Constant Details

    • ACTIVE

      public static final SourceStatus ACTIVE
      Source is enabled and eligible for queuing.
    • QUEUED

      public static final SourceStatus QUEUED
      Source has been submitted to the work queue and is waiting to be processed.
    • RUNNING

      public static final SourceStatus RUNNING
      A harvest of this source is currently in progress.
    • FAILED

      public static final SourceStatus FAILED
      Last harvest attempt failed. Source will be retried on the next scheduler cycle.
    • REJECTED

      public static final SourceStatus REJECTED
      Source was inspected and found not to be a valid harvestable registry.
    • DISABLED

      public static final SourceStatus DISABLED
      Source has been manually disabled by an operator.
    • CACHED

      public static final SourceStatus CACHED
      Source has an existing cached copy of its records, i.e. ready for intial import
    • LIMITED

      public static final SourceStatus LIMITED
      Source has been capped by a discovery policy limit (depth, catalog size, etc.).
  • Method Details

    • values

      public static SourceStatus[] 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 SourceStatus 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