@Beta public enum RenderMode extends Enum<RenderMode>
| Modifier and Type | Method and Description |
|---|---|
static RenderMode |
from(String value) |
static RenderMode |
from(String value,
RenderMode defaultValue) |
String |
toString() |
static RenderMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RenderMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RenderMode EDIT
public static final RenderMode PREVIEW
public static final RenderMode LIVE
public static final RenderMode ADMIN
public static RenderMode[] values()
for (RenderMode c : RenderMode.values()) System.out.println(c);
public static RenderMode 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 toString()
toString in class Enum<RenderMode>public static RenderMode from(String value)
public static RenderMode from(String value, RenderMode defaultValue)