public class PassthruModuleOptionsMetadata extends java.lang.Object implements ModuleOptionsMetadata
ModuleOptionsMetadata
used when no explicit information about a module has been authored.
This implementation does not know how to list its module options and will pass thru the raw options data it receives
as options.Constructor and Description |
---|
PassthruModuleOptionsMetadata() |
Modifier and Type | Method and Description |
---|---|
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 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