@Beta public enum RenderMode extends java.lang.Enum<RenderMode>
Modifier and Type | Method and Description |
---|---|
static RenderMode |
from(java.lang.String value) |
static RenderMode |
from(java.lang.String value,
RenderMode defaultValue) |
java.lang.String |
toString() |
static RenderMode |
valueOf(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<RenderMode>
public static RenderMode from(java.lang.String value)
public static RenderMode from(java.lang.String value, RenderMode defaultValue)