Enum Class ELcdKML22ResourceStatus

java.lang.Object
java.lang.Enum<ELcdKML22ResourceStatus>
com.luciad.format.kml22.util.ELcdKML22ResourceStatus
All Implemented Interfaces:
Serializable, Comparable<ELcdKML22ResourceStatus>, Constable

public enum ELcdKML22ResourceStatus extends Enum<ELcdKML22ResourceStatus>
Defines the status of a resource.
Since:
10.0
  • Enum Constant Details

    • CACHED

      public static final ELcdKML22ResourceStatus CACHED
      Defines a resource that is cached and ready to be retrieved in an efficient way.
    • NOT_CACHED

      public static final ELcdKML22ResourceStatus NOT_CACHED
      Defines a resource that is not cached. Retrieving this resource in a synchronous method will block the calling thread. To prevent the calling thread from blocking, the asynchronous method should be called.
    • LOADING

      public static final ELcdKML22ResourceStatus LOADING
      Defines a resource that is currently being retrieved by a background thread. It is not yet available, and a call to a synchronous retrieve method would block the calling thread.
    • FAULTY

      public static final ELcdKML22ResourceStatus FAULTY
      Defines a resource that was found to be faulty in the past. This could mean that the resource is inexistent or contains some faults that prevented the resource provider to properly retrieve it.
  • Method Details

    • values

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