public enum ContentTypes extends Enum<ContentTypes>
Enum Constant and Description |
---|
ATTACHMENT
Any Attachment.
|
DOCUMENT
Document
|
IDEA
Idea
|
IMAGE
Image
|
LINK
Link
|
QUESTION
Question
|
RICH_MEDIA
Rich media
|
Modifier and Type | Method and Description |
---|---|
String |
getPropertyKey() |
String |
getPropertyValue() |
static ContentTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentTypes DOCUMENT
public static final ContentTypes LINK
public static final ContentTypes IMAGE
public static final ContentTypes RICH_MEDIA
public static final ContentTypes IDEA
public static final ContentTypes QUESTION
public static final ContentTypes ATTACHMENT
public static ContentTypes[] values()
for (ContentTypes c : ContentTypes.values()) System.out.println(c);
public static ContentTypes valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getPropertyKey()
public String getPropertyValue()
Copyright © 2019 Communote team. All rights reserved.