public class SimpleModuleOptionsMetadata extends java.lang.Object implements ModuleOptionsMetadata
ModuleOptionsMetadata
that only knows how to list options and does not support advanced
facilities such as derived options, profile activation or validation.Constructor and Description |
---|
SimpleModuleOptionsMetadata() |
Modifier and Type | Method and Description |
---|---|
void |
add(ModuleOption option) |
ModuleOptions |
interpolate(java.util.Map<java.lang.String,java.lang.String> raw)
Derive information about the module behavior once it is part of a stream and user provided values for the module
options are known.
|
java.util.Iterator<ModuleOption> |
iterator() |
public void add(ModuleOption option)
public java.util.Iterator<ModuleOption> iterator()
iterator
in interface java.lang.Iterable<ModuleOption>
public ModuleOptions interpolate(java.util.Map<java.lang.String,java.lang.String> raw) throws org.springframework.validation.BindException
ModuleOptionsMetadata
interpolate
in interface ModuleOptionsMetadata
raw
- the user provided options (from the DSL stream definition)org.springframework.validation.BindException
- if provided values (as well as defaults) failed to validate