public static enum TestPropertyValues.Type extends java.lang.Enum<TestPropertyValues.Type>
| Enum Constant and Description |
|---|
MAP
Used for
MapPropertySource. |
SYSTEM_ENVIRONMENT
Used for
SystemEnvironmentPropertySource. |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
applySuffix(java.lang.String name) |
java.lang.Class<? extends org.springframework.core.env.MapPropertySource> |
getSourceClass() |
static TestPropertyValues.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TestPropertyValues.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestPropertyValues.Type SYSTEM_ENVIRONMENT
SystemEnvironmentPropertySource.public static final TestPropertyValues.Type MAP
MapPropertySource.public static TestPropertyValues.Type[] values()
for (TestPropertyValues.Type c : TestPropertyValues.Type.values()) System.out.println(c);
public static TestPropertyValues.Type 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 namejava.lang.NullPointerException - if the argument is nullpublic java.lang.Class<? extends org.springframework.core.env.MapPropertySource> getSourceClass()
protected java.lang.String applySuffix(java.lang.String name)