public class HierarchicalCompositeModuleOptionsMetadata extends java.lang.Object implements ModuleOptionsMetadata
ModuleOptionsMetadata
made of several ModuleOptionsMetadata
, each assigned to a name,
that will appear in a hierarchy. Used to represent options to a composite module.Constructor and Description |
---|
HierarchicalCompositeModuleOptionsMetadata(java.util.Map<java.lang.String,ModuleOptionsMetadata> hierarchy) |
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 HierarchicalCompositeModuleOptionsMetadata(java.util.Map<java.lang.String,ModuleOptionsMetadata> hierarchy)
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