public class ModuleDefinitions
extends java.lang.Object
ModuleDefinitions.| Modifier and Type | Method and Description |
|---|---|
static ModuleDefinition |
composed(java.lang.String name,
ModuleType type,
java.lang.String dslDefinition,
java.util.List<ModuleDefinition> children)
Create a new definition for a composed module (one where its behavior comes not from its own 'code', but from
composing pre-existing modules).
|
static ModuleDefinition |
dummy(java.lang.String name,
ModuleType type)
Create a new definition for a dummy module, for testing purposes only.
|
static ModuleDefinition |
simple(java.lang.String name,
ModuleType type,
java.lang.String location)
Create a new definition for a simple module (one where its implementation code can be located).
|
public static ModuleDefinition simple(java.lang.String name, ModuleType type, java.lang.String location)
name - the name of the moduletype - the type of the modulelocation - where the 'code' for the module can be foundpublic static ModuleDefinition composed(java.lang.String name, ModuleType type, java.lang.String dslDefinition, java.util.List<ModuleDefinition> children)
name - the name of the moduletype - the type of the moduledslDefinition - the definition that was used to create the module, in Spring XD DSLchildren - information about the child modules that make up the composed modulepublic static ModuleDefinition dummy(java.lang.String name, ModuleType type)
simple(String, ModuleType, String) but the 'location' must not be relied upon.name - the name of the moduletype - the type of the module