public enum RenderingContext extends Enum<RenderingContext>
| Enum Constant and Description |
|---|
BACK
Back-office context
|
FRONT
Front-office context
|
PREVIEW
Preview context
|
| Modifier and Type | Method and Description |
|---|---|
static RenderingContext |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RenderingContext[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RenderingContext BACK
public static final RenderingContext FRONT
public static final RenderingContext PREVIEW
public static RenderingContext[] values()
for (RenderingContext c : RenderingContext.values()) System.out.println(c);
public static RenderingContext 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 null