public static enum DraftService.DraftType extends Enum<DraftService.DraftType>
Modifier and Type | Method and Description |
---|---|
static DraftService.DraftType |
getByRepresentation(String representation) |
String |
toString() |
static DraftService.DraftType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DraftService.DraftType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DraftService.DraftType PAGE
public static final DraftService.DraftType BLOG
public static DraftService.DraftType[] values()
for (DraftService.DraftType c : DraftService.DraftType.values()) System.out.println(c);
public static DraftService.DraftType 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 DraftService.DraftType getByRepresentation(String representation)
public String toString()
toString
in class Enum<DraftService.DraftType>
Copyright © 2003–2017 Atlassian. All rights reserved.