|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ValidationFailure | |
---|---|
org.apache.commons.pipeline.validation | Utilities for validating stage connectivity within a pipeline. |
Uses of ValidationFailure in org.apache.commons.pipeline.validation |
---|
Methods in org.apache.commons.pipeline.validation that return types with arguments of type ValidationFailure | |
---|---|
List<ValidationFailure> |
ValidationException.getValidationErrors()
Returns the list of errors that precipitated this validation exception. |
List<ValidationFailure> |
SimplePipelineValidator.validate(Pipeline pipeline)
This method validates the entire structure of the pipeline, ensuring that the data produced by each stage can be consumed by the subsequent stage and/or relevant branch pipelines. |
List<ValidationFailure> |
PipelineValidator.validate(Pipeline pipeline)
Implementations of this method should validate the overall structure of the pipeline. |
List<ValidationFailure> |
SimplePipelineValidator.validateAddBranch(Pipeline pipeline,
String branchKey,
Pipeline branch)
Validate whether or not the specified branch pipeline can be added with the specified key. |
List<ValidationFailure> |
PipelineValidator.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> |
SimplePipelineValidator.validateAddStage(Pipeline pipeline,
Stage stage,
StageDriverFactory driverFactory)
Validate whether or not a stage can be added to the pipeline. |
List<ValidationFailure> |
PipelineValidator.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. |
Constructor parameters in org.apache.commons.pipeline.validation with type arguments of type ValidationFailure | |
---|---|
ValidationException(List<ValidationFailure> errors)
Creates a new instance of ValidationException without detail message. |
|
ValidationException(String msg,
List<ValidationFailure> errors)
Constructs an instance of ValidationException with the specified detail message. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |