|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcascading.cascade.Cascades
public class Cascades
Class Cascades provides useful utilities for use in constructing Cascade
and Flow
instances via the CascadeConnector
and FlowConnector
, respectively.
FlowDef
for the recommended alternative to dealing with Maps of Taps.
Constructor Summary | |
---|---|
Cascades()
|
Method Summary | |
---|---|
static FlowGraph |
getFlowGraphFrom(Cascade cascade)
|
static IdentifierGraph |
getTapGraphFrom(Cascade cascade)
|
static Map<String,Tap> |
tapsMap(Pipe[] pipes,
Tap[] taps)
Method tapsMap creates a new Map using the given pipes and taps. |
static Map<String,Tap> |
tapsMap(Pipe pipe,
Tap tap)
Method tapsMap creates a new Map using the given Pipe name and tap. |
static Map<String,Tap> |
tapsMap(String[] names,
Tap[] taps)
Method tapsMap creates a new Map for each name and tap. |
static Map<String,Tap> |
tapsMap(String name,
Tap tap)
Method tapsMap creates a new Map for the given name and tap. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Cascades()
Method Detail |
---|
public static Map<String,Tap> tapsMap(String name, Tap tap)
name
- of type Stringtap
- of type Tap
public static Map<String,Tap> tapsMap(String[] names, Tap[] taps)
names
- of type String[]taps
- of type Tap[]
public static Map<String,Tap> tapsMap(Pipe pipe, Tap tap)
pipe
- of type Pipetap
- of type Tap
public static Map<String,Tap> tapsMap(Pipe[] pipes, Tap[] taps)
pipes
- of type Pipe[]taps
- of type Tap[]
public static FlowGraph getFlowGraphFrom(Cascade cascade)
public static IdentifierGraph getTapGraphFrom(Cascade cascade)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |