|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.pipeline.validation.ValidationUtils
public class ValidationUtils
A collection of utility methods used by the validation system.
Method Summary | |
---|---|
static Boolean |
canSucceed(Stage upstream,
Stage downstream)
Tests whether the specified downstream stage can succeed the specified upstream stage. |
static Boolean |
canSucceedOnBranch(Stage upstream,
String downstreamBranchKey,
Stage downstream)
Tests whether the specified downstream stage can succeed the specified upstream stage on a branch pipeline identified by the given branch key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final Boolean canSucceed(Stage upstream, Stage downstream)
upstream
- the upstream stagedownstream
- the stage consuming data produced by the upstream stage
public static final Boolean canSucceedOnBranch(Stage upstream, String downstreamBranchKey, Stage downstream)
upstream
- the upstream stagedownstreamBranchKey
- the key identifying the branch receiving data from the upstream stagedownstream
- the stage consuming data produced by the upstream stage
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |