Package com.caplin.streamlink
Enum Class SubscriptionStatusType
- All Implemented Interfaces:
Serializable
,Comparable<SubscriptionStatusType>
,Constable
Enumeration that defines the status of a subject.
The SubscriptionStatusType
will be provided by calling getStatus()
on a SubscriptionStatusEvent
.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAn informational message about the subject (usually sent by the DataSource).One of the sources of data for the subject is not available.The data associated with the subject is correct and up-to-date.The subject's data may not be correct and up-to-date. -
Method Summary
Modifier and TypeMethodDescriptionstatic SubscriptionStatusType
Returns the enum constant of this class with the specified name.static SubscriptionStatusType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STATUS_OK
The data associated with the subject is correct and up-to-date.
-
STATUS_LIMITED
One of the sources of data for the subject is not available. This may affect the subject's data.
-
STATUS_STALE
The subject's data may not be correct and up-to-date.
-
STATUS_INFO
An informational message about the subject (usually sent by the DataSource).
-
-
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
-