|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcascading.cascade.CascadeConnector
public class CascadeConnector
Class CascadeConnector is used to construct a new Cascade
instance from a collection of Flow
instance.
connect
method. This connector will order them based on their dependencies, if any.
The CascadeDef
is a convenience class for dynamically defining a Cascade that can be passed to the
connect(CascadeDef)
method.
Use the CascadeProps
fluent helper class to create global properties to pass to the CascadeConnector
constructor.
CascadeDef
,
CascadeProps
Constructor Summary | |
---|---|
CascadeConnector()
Constructor CascadeConnector creates a new CascadeConnector instance. |
|
CascadeConnector(java.util.Map<java.lang.Object,java.lang.Object> properties)
Constructor CascadeConnector creates a new CascadeConnector instance. |
Method Summary | |
---|---|
Cascade |
connect(CascadeDef cascadeDef)
|
Cascade |
connect(java.util.Collection<Flow> flows)
Given any number of Flow objects, it will connect them and return a new Cascade instance. |
Cascade |
connect(Flow... flows)
Given any number of Flow objects, it will connect them and return a new Cascade instance. |
Cascade |
connect(java.lang.String name,
java.util.Collection<Flow> flows)
Given any number of Flow objects, it will connect them and return a new Cascade instance. |
Cascade |
connect(java.lang.String name,
Flow... flows)
Given any number of Flow objects, it will connect them and return a new Cascade instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CascadeConnector()
@ConstructorProperties(value="properties") public CascadeConnector(java.util.Map<java.lang.Object,java.lang.Object> properties)
properties
- of type MapMethod Detail |
---|
public Cascade connect(java.util.Collection<Flow> flows)
Flow
objects, it will connect them and return a new Cascade
instance. The name
of the Cascade is derived from the given Flow instances.
flows
- of type Collectionpublic Cascade connect(java.lang.String name, java.util.Collection<Flow> flows)
Flow
objects, it will connect them and return a new Cascade
instance.
name
- of type Stringflows
- of type Collectionpublic Cascade connect(Flow... flows)
Flow
objects, it will connect them and return a new Cascade
instance. The name
of the Cascade is derived from the given Flow instances.
flows
- of type Flow
public Cascade connect(java.lang.String name, Flow... flows)
Flow
objects, it will connect them and return a new Cascade
instance.
name
- of type Stringflows
- of type Flow
public Cascade connect(CascadeDef cascadeDef)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |