|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cascading.pipe.Pipe cascading.pipe.SubAssembly
public abstract class SubAssembly
Subclasses of SubAssembly encapsulate complex assemblies of Pipe
s so they my be reused in the same manner
a Pipe is used.
setTails(Pipe...)
.
Field Summary |
---|
Fields inherited from class cascading.pipe.Pipe |
---|
previous |
Constructor Summary | |
---|---|
SubAssembly()
|
Method Summary | |
---|---|
String |
getName()
Get the name of this pipe. |
Pipe[] |
getPrevious()
Get all the upstream pipes this pipe is connected to. |
String[] |
getTailNames()
Method getTailNames returns the tailNames of this PipeAssembly object. |
Pipe[] |
getTails()
Method getTails returns all the tails of this PipeAssembly object. |
protected void |
setTails(Pipe... tails)
Must be called by subclasses to set the final end points of the assembly the subclass represents. |
static Pipe[] |
unwind(Pipe... tails)
Is responsible for unwinding nested PipeAssembly instances. |
Methods inherited from class cascading.pipe.Pipe |
---|
equals, getHeads, getTrace, hashCode, isEquivalentTo, names, outgoingScopeFor, pipes, print, printInternal, resolveFields, resolveIncomingOperationFields, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SubAssembly()
Method Detail |
---|
protected void setTails(Pipe... tails)
tails
- of type Pipepublic Pipe[] getTails()
setTails(Pipe...)
.
public String[] getTailNames()
public String getName()
Pipe
getName
in class Pipe
public Pipe[] getPrevious()
Pipe
getPrevious
in class Pipe
public static Pipe[] unwind(Pipe... tails)
tails
- of type Pipe[]
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |