public static enum ApplicationContextAssert.Scope extends Enum<ApplicationContextAssert.Scope>
Enum Constant and Description |
---|
INCLUDE_ANCESTORS
Consider the ancestor contexts as well as the current context.
|
NO_ANCESTORS
Limited to the current context.
|
Modifier and Type | Method and Description |
---|---|
static ApplicationContextAssert.Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationContextAssert.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationContextAssert.Scope NO_ANCESTORS
public static final ApplicationContextAssert.Scope INCLUDE_ANCESTORS
public static ApplicationContextAssert.Scope[] values()
for (ApplicationContextAssert.Scope c : ApplicationContextAssert.Scope.values()) System.out.println(c);
public static ApplicationContextAssert.Scope 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