public enum SubjectType extends java.lang.Enum<SubjectType>
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
.
Enum Constant and Description |
---|
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.
|
UNKNOWN
The subject type is unknown.
|
USER
User subject type.
|
Modifier and Type | Method and Description |
---|---|
static SubjectType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SubjectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubjectType CHAT
Chat subject type.
public static final SubjectType CONTAINER
Container subject type.
public static final SubjectType DIRECTORY
Directory subject type.
public static final SubjectType NEWS_HEADLINE
News headline subject type.
public static final SubjectType NEWS_STORY
News story subject type.
public static final SubjectType PAGE
Page subject type.
public static final SubjectType PERMISSION
Permission subject type.
public static final SubjectType RECORD
Record subject type.
public static final SubjectType USER
User subject type.
public static final SubjectType UNKNOWN
The subject type is unknown.
public static SubjectType[] values()
for (SubjectType c : SubjectType.values()) System.out.println(c);
public static SubjectType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullPlease send bug reports and comments to Caplin support