public enum LabelableType extends Enum<LabelableType>
| Enum Constant and Description |
|---|
ATTACHMENT |
CONTENT |
PAGE_TEMPLATE |
| Modifier and Type | Method and Description |
|---|---|
static LabelableType |
getFromTypeString(String typeString) |
Class<? extends EditableLabelable> |
getLabelableClass() |
static LabelableType |
getType(Class<? extends EditableLabelable> labelableClass) |
static String |
getTypeString(Class<? extends EditableLabelable> labelableClass) |
String |
typeString() |
static LabelableType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LabelableType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LabelableType CONTENT
public static final LabelableType PAGE_TEMPLATE
public static final LabelableType ATTACHMENT
public static LabelableType[] values()
for (LabelableType c : LabelableType.values()) System.out.println(c);
public static LabelableType 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 static String getTypeString(Class<? extends EditableLabelable> labelableClass)
public static LabelableType getType(Class<? extends EditableLabelable> labelableClass)
public static LabelableType getFromTypeString(String typeString)
public String typeString()
public Class<? extends EditableLabelable> getLabelableClass()
Copyright © 2003–2019 Atlassian. All rights reserved.