Package com.caplin.streamlink
Enum Class SubjectType
- All Implemented Interfaces:
Serializable
,Comparable<SubjectType>
,Constable
Enumeration that represents the available subject types.
The SubjectType
can be obtained by calling getType()
on a
ContainerElement
or DirectoryChangeElement
.
It is also a parameter to createSubject()
in StreamLink
.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionChat subject type.Container subject type.Directory subject type.JSON subject type.News headline subject type.News story subject type.Page subject type.Permission subject type.Record subject type.The subject type is unknown.User subject type. -
Method Summary
Modifier and TypeMethodDescriptionstatic SubjectType
Returns the enum constant of this class with the specified name.static SubjectType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CHAT
Chat subject type.
-
CONTAINER
Container subject type.
-
DIRECTORY
Directory subject type.
-
NEWS_HEADLINE
News headline subject type.
-
NEWS_STORY
News story subject type.
-
PAGE
Page subject type.
-
PERMISSION
Permission subject type.
-
RECORD
Record subject type.
-
USER
User subject type.
-
JSON
JSON subject type.
-
UNKNOWN
The subject type is unknown.
-
-
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
-