public static enum IContextProvider.SingletonTraits extends Enum<IContextProvider.SingletonTraits>
Enum Constant and Description |
---|
ACCESS_FREE_TRAITS
A singleton ITraits that anyone can use but not modify.
|
ALL_TRAITS
This will enable all traits.
|
ALL_TRAITS_MINUS_EVENT
This will enable all traits except for events.
|
NO_TRAITS
A singleton ITraits that anyone can use but not modify.
|
Modifier and Type | Method and Description |
---|---|
static IContextProvider.SingletonTraits |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IContextProvider.SingletonTraits[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IContextProvider.SingletonTraits ALL_TRAITS
ITraits.ALL
public static final IContextProvider.SingletonTraits ALL_TRAITS_MINUS_EVENT
ITraits
public static final IContextProvider.SingletonTraits ACCESS_FREE_TRAITS
ITraits
public static final IContextProvider.SingletonTraits NO_TRAITS
ITraits.NONE
public static IContextProvider.SingletonTraits[] values()
for (IContextProvider.SingletonTraits c : IContextProvider.SingletonTraits.values()) System.out.println(c);
public static IContextProvider.SingletonTraits 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