@ExperimentalApi public final class ContentType extends BaseApiEnum
TargetType
Modifier and Type | Field and Description |
---|---|
static ContentType |
ATTACHMENT |
static ContentType |
BLOG_POST |
static List<ContentType> |
BUILT_IN |
static ContentType |
COMMENT |
static ContentType |
PAGE |
value
Modifier and Type | Method and Description |
---|---|
String |
getType() |
static ContentType |
valueOf(String type)
Return the
ContentType for the given type string. |
static Set<ContentType> |
valuesOf(Iterable<String> types)
Return the
ContentType s for the given set of type strings. |
public static final ContentType PAGE
public static final ContentType BLOG_POST
public static final ContentType COMMENT
public static final ContentType ATTACHMENT
public static final List<ContentType> BUILT_IN
public static ContentType valueOf(String type)
ContentType
for the given type string. Built-in type constants will be returned if matched.public static Set<ContentType> valuesOf(Iterable<String> types)
ContentType
s for the given set of type strings.
Built-in type constants will be returned if matched.public String getType()
Copyright © 2003–2021 Atlassian. All rights reserved.