public static enum TestPropertyValues.Type extends Enum<TestPropertyValues.Type>
| Enum Constant and Description |
|---|
MAP
Used for
MapPropertySource. |
SYSTEM_ENVIRONMENT
Used for
SystemEnvironmentPropertySource. |
| Modifier and Type | Method and Description |
|---|---|
protected String |
applySuffix(String name) |
Class<? extends org.springframework.core.env.MapPropertySource> |
getSourceClass() |
static TestPropertyValues.Type |
valueOf(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(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 Class<? extends org.springframework.core.env.MapPropertySource> getSourceClass()
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.