|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cascading.property.UnitOfWorkDef<CascadeDef> cascading.cascade.CascadeDef
public class CascadeDef
Class CascadeDef is a fluent interface for defining a Cascade
.
CascadeConnector
connect methods, CascadeConnector.connect(CascadeDef)
can be called.
UnitOfWorkDef
,
FlowDef
Field Summary |
---|
Fields inherited from class cascading.property.UnitOfWorkDef |
---|
name, tags |
Constructor Summary | |
---|---|
CascadeDef()
Constructor CascadeDef creates a new CascadeDef instance. |
Method Summary | |
---|---|
CascadeDef |
addFlow(Flow flow)
Method addFlow adds a new Flow instance that is intended to participate in a Cascade . |
CascadeDef |
addFlows(Collection<Flow> flows)
Method addFlows adds many new Flow instances intended to participate in a Cascade . |
CascadeDef |
addFlows(Flow... flows)
Method addFlows adds many new Flow instances intended to participate in a Cascade . |
static CascadeDef |
cascadeDef()
Creates a new instance of a CascadeDef. |
Collection<Flow> |
getFlows()
Method getFlows returns the flows of this CascadeDef object. |
Flow[] |
getFlowsArray()
Method getFlowsArray returns the flows as an array of this CascadeDef object. |
int |
getMaxConcurrentFlows()
|
CascadeDef |
setMaxConcurrentFlows(int maxConcurrentFlows)
|
Methods inherited from class cascading.property.UnitOfWorkDef |
---|
addTag, addTags, getName, getTags, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CascadeDef()
Method Detail |
---|
public static CascadeDef cascadeDef()
public Collection<Flow> getFlows()
public Flow[] getFlowsArray()
public CascadeDef addFlow(Flow flow)
Flow
instance that is intended to participate in a Cascade
.
flow
- of Flow
public CascadeDef addFlows(Flow... flows)
Flow
instances intended to participate in a Cascade
.
flows
- of Flow[]
public CascadeDef addFlows(Collection<Flow> flows)
Flow
instances intended to participate in a Cascade
.
flows
- of Collectionpublic CascadeDef setMaxConcurrentFlows(int maxConcurrentFlows)
public int getMaxConcurrentFlows()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |