|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<GrouperContextTypeBuiltIn>
edu.internet2.middleware.grouper.hooks.beans.GrouperContextTypeBuiltIn
public enum GrouperContextTypeBuiltIn
type of context
| Enum Constant Summary | |
|---|---|
ANT_TOOLS
ant tools like schema-export etc |
|
GROUPER_API
normal API call |
|
GROUPER_LOADER
from grouper loader |
|
GROUPER_UI
from the UI |
|
GROUPER_WS
from the ws |
|
GSH
from grouper shell |
|
UNKNOWN
if the context type if not known |
|
USDU
from undeleted subject utility |
|
| Method Summary | |
|---|---|
static GrouperContextType |
_internal_getThreadLocalGrouperContextType()
|
static GrouperContextType |
currentGrouperContext()
current grouper context. |
static void |
setDefaultContext(GrouperContextType defaultContext)
global default context (if not one set in thread local) |
static void |
setThreadLocalContext(GrouperContextType grouperContextType)
|
static GrouperContextTypeBuiltIn |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static GrouperContextTypeBuiltIn[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface edu.internet2.middleware.grouper.hooks.beans.GrouperContextType |
|---|
name |
| Enum Constant Detail |
|---|
public static final GrouperContextTypeBuiltIn GROUPER_API
public static final GrouperContextTypeBuiltIn ANT_TOOLS
public static final GrouperContextTypeBuiltIn GROUPER_UI
public static final GrouperContextTypeBuiltIn GROUPER_WS
public static final GrouperContextTypeBuiltIn GSH
public static final GrouperContextTypeBuiltIn UNKNOWN
public static final GrouperContextTypeBuiltIn USDU
public static final GrouperContextTypeBuiltIn GROUPER_LOADER
| Method Detail |
|---|
public static GrouperContextTypeBuiltIn[] values()
for (GrouperContextTypeBuiltIn c : GrouperContextTypeBuiltIn.values()) System.out.println(c);
public static GrouperContextTypeBuiltIn 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 name
java.lang.NullPointerException - if the argument is nullpublic static void setDefaultContext(GrouperContextType defaultContext)
defaultContext - the defaultContext to setpublic static void setThreadLocalContext(GrouperContextType grouperContextType)
grouperContextType - public static GrouperContextType currentGrouperContext()
public static GrouperContextType _internal_getThreadLocalGrouperContextType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||