public final class ModelASTParallel extends ModelASTStages
Stages to be executed in the build in parallel. Corresponds to Stages.
Used as a base to hold common functionality between parallel and matrix.| Constructor and Description |
|---|
ModelASTParallel(Object sourceLocation) |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
void |
validate(ModelValidator validator)
Called to do whatever validation is necessary for this element.
|
void |
validate(ModelValidator validator,
boolean isWithinParallel) |
equals, getStages, getUuid, hashCode, removeSourceLocation, setStages, toGroovy, toJSONgetSourceLocation, setSourceLocationpublic ModelASTParallel(Object sourceLocation)
public void validate(@Nonnull ModelValidator validator)
ModelASTElementvalidate in class ModelASTStagesvalidator - A ModelValidator to use for more complicated validation.public void validate(ModelValidator validator, boolean isWithinParallel)
validate in class ModelASTStagespublic String toString()
ModelASTElementtoString in class ModelASTStagesCopyright © 2016–2019. All rights reserved.