public interface XDParser
ModuleDescriptor
objects that comprise the given unit.Modifier and Type | Method and Description |
---|---|
java.util.List<ModuleDescriptor> |
parse(java.lang.String name,
java.lang.String config,
ParsingContext type)
Parse a DSL string.
|
java.util.List<ModuleDescriptor> parse(java.lang.String name, java.lang.String config, ParsingContext type)
name
- name of the deployable unit, such as a stream or jobconfig
- the DSL stringtype
- the context under which the parsing is occurring
(for example, is it a stream, module, or job being
parsed, how far into the DSL has parsing occurred, etc)ModuleDescriptor
that reflect the modules required for the deployable unit
described by the DSL.