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() |
validate
public PrefixNarrowingModuleOptions(ModuleOptions composedModuleOptions, java.lang.String moduleName)
public java.lang.String[] profilesToActivate()
profilesToActivate
in interface ProfileNamesProvider
profilesToActivate
in class ModuleOptions
public org.springframework.core.env.EnumerablePropertySource<?> asPropertySource()
asPropertySource
in class ModuleOptions