cascading.cascade
Class CascadeConnector

java.lang.Object
  extended by cascading.cascade.CascadeConnector

public class CascadeConnector
extends Object

Class CascadeConnector is used to construct a new Cascade instance from a collection of Flow instance.


Constructor Summary
CascadeConnector()
           
 
Method Summary
 Cascade connect(Flow... flows)
          Given any number of Flow objects, it will connect them and return a new Cascade instance.
 Cascade connect(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

CascadeConnector

public CascadeConnector()
Method Detail

connect

public Cascade connect(Flow... flows)
Given any number of Flow objects, it will connect them and return a new Cascade instance. The name of the Cascade is derived from the given Flow instances.

Parameters:
flows - of type Flow
Returns:
Cascade

connect

public Cascade connect(String name,
                       Flow... flows)
Given any number of Flow objects, it will connect them and return a new Cascade instance.

Parameters:
name - of type String
flows - of type Flow
Returns:
Cascade


Copyright © 2007-2008 Concurrent, Inc. All Rights Reserved.