Package com.luciad.format.kml22.util
Enum Class ELcdKML22ResourceStatus
- All Implemented Interfaces:
Serializable
,Comparable<ELcdKML22ResourceStatus>
,Constable
Defines the status of a resource.
- Since:
- 10.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDefines a resource that is cached and ready to be retrieved in an efficient way.Defines a resource that was found to be faulty in the past.Defines a resource that is currently being retrieved by a background thread.Defines a resource that is not cached. -
Method Summary
Modifier and TypeMethodDescriptionstatic ELcdKML22ResourceStatus
Returns the enum constant of this class with the specified name.static ELcdKML22ResourceStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CACHED
Defines a resource that is cached and ready to be retrieved in an efficient way. -
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
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
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
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
-