public class PrefixNarrowingModuleOptions extends ModuleOptions
ModuleOptions (in practice, one representing options to a composed module)
that will filter and remap property values exposed through its property source. Only values starting with a given
prefix are exposed (without the prefix).NO_PROFILES| Constructor and Description |
|---|
PrefixNarrowingModuleOptions(ModuleOptions composedModuleOptions,
java.lang.String moduleName) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.core.env.EnumerablePropertySource<?> |
asPropertySource() |
java.lang.String[] |
profilesToActivate() |
validatepublic PrefixNarrowingModuleOptions(ModuleOptions composedModuleOptions, java.lang.String moduleName)
public java.lang.String[] profilesToActivate()
profilesToActivate in interface ProfileNamesProviderprofilesToActivate in class ModuleOptionspublic org.springframework.core.env.EnumerablePropertySource<?> asPropertySource()
asPropertySource in class ModuleOptions