|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PipelineValidator
This interface is used as the basis for validation strategies that may be used to check the validity of a pipeline under construction.
Method Summary | |
---|---|
List<ValidationFailure> |
validate(Pipeline pipeline)
Implementations of this method should validate the overall structure of the pipeline. |
List<ValidationFailure> |
validateAddBranch(Pipeline pipeline,
String branchKey,
Pipeline branch)
Implementations of this method should validate whether or not the specified branch can be added to the specified pipeline with the given key. |
List<ValidationFailure> |
validateAddStage(Pipeline pipeline,
Stage stage,
StageDriverFactory driverFactory)
Implementations of this method should validate whether or not the specified stage can be added to the pipeline in its current state. |
Method Detail |
---|
List<ValidationFailure> validate(Pipeline pipeline)
pipeline
- The pipeline to be validated
List<ValidationFailure> validateAddStage(Pipeline pipeline, Stage stage, StageDriverFactory driverFactory)
pipeline
- The pipeline to which the stage is being addedstage
- The added stagedriverFactory
- The StageDriverFactory used to create a StageDriver for the stage
List<ValidationFailure> validateAddBranch(Pipeline pipeline, String branchKey, Pipeline branch)
pipeline
- The pipeline to which the branch is being addedbranchKey
- The key used to identify the new branchbranch
- The new branch pipeline
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |