public enum RelatableEntityTypeEnum extends Enum<RelatableEntityTypeEnum>
RelationEntity
,
RelatableEntity
Enum Constant and Description |
---|
ATTACHMENT |
BLOG |
COMMENT |
CUSTOM |
DRAFT |
PAGE |
SPACE |
USER |
Modifier and Type | Method and Description |
---|---|
static RelatableEntityTypeEnum |
getByContentEntityObject(ContentEntityObject object) |
Class<? extends com.atlassian.core.bean.EntityObject> |
getType() |
String |
getTypeName() |
static RelatableEntityTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RelatableEntityTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelatableEntityTypeEnum PAGE
public static final RelatableEntityTypeEnum COMMENT
public static final RelatableEntityTypeEnum BLOG
public static final RelatableEntityTypeEnum ATTACHMENT
public static final RelatableEntityTypeEnum USER
public static final RelatableEntityTypeEnum SPACE
public static final RelatableEntityTypeEnum DRAFT
public static final RelatableEntityTypeEnum CUSTOM
public static RelatableEntityTypeEnum[] values()
for (RelatableEntityTypeEnum c : RelatableEntityTypeEnum.values()) System.out.println(c);
public static RelatableEntityTypeEnum 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 Class<? extends com.atlassian.core.bean.EntityObject> getType()
public String getTypeName()
public static RelatableEntityTypeEnum getByContentEntityObject(ContentEntityObject object)
object
- ContentEntityObject
Copyright © 2003–2017 Atlassian. All rights reserved.