public enum ContextView extends Enum<ContextView>
Enum containing all the possible context views.
| Enum Constant and Description | 
|---|
ADMINISTRATOR  | 
COMMON  | 
MANAGER  | 
MODELER  | 
USER  | 
| Modifier and Type | Method and Description | 
|---|---|
static ContextView | 
find(String id)
Finds a new context view instance by the given id. 
 | 
String | 
getId()  | 
com.google.common.collect.ImmutableList<ViewName> | 
getViews()  | 
static ContextView | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static ContextView[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final ContextView USER
public static final ContextView MODELER
public static final ContextView ADMINISTRATOR
public static final ContextView MANAGER
public static final ContextView COMMON
public static ContextView[] values()
for (ContextView c : ContextView.values()) System.out.println(c);
public static ContextView 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 ContextView find(String id)
Finds a new context view instance by the given id.
id - the id of the context view to createIllegalArgumentException - if the id is not knownpublic String getId()
public com.google.common.collect.ImmutableList<ViewName> getViews()
Copyright © 2010 - 2018 edorasware ag. All Rights Reserved.