public enum ContextConfig extends Enum<ContextConfig>
Enum Constant and Description |
---|
JSON |
Modifier and Type | Method and Description |
---|---|
abstract Context |
createContext(List<String> resources) |
abstract Context |
createContext(MetaConfigEvents events,
String... resources) |
abstract Context |
createContext(String... resources) |
abstract Context |
createContext(String configNamespace,
boolean startsWith,
MetaConfigEvents events,
List<String> resources) |
abstract Context |
createContext(String configNamespace,
boolean startsWith,
MetaConfigEvents events,
String... resources) |
abstract Context |
createContext(String configNamespace,
boolean startsWith,
String... resources) |
static ContextConfig |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContextConfig[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContextConfig JSON
public static ContextConfig[] values()
for (ContextConfig c : ContextConfig.values()) System.out.println(c);
public static ContextConfig 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 abstract Context createContext(String configNamespace, boolean startsWith, String... resources)
public abstract Context createContext(MetaConfigEvents events, String... resources)
public abstract Context createContext(String configNamespace, boolean startsWith, MetaConfigEvents events, String... resources)
public abstract Context createContext(String configNamespace, boolean startsWith, MetaConfigEvents events, List<String> resources)
Copyright © 2014. All rights reserved.