Class ModelASTPostBuild
java.lang.Object
org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTElement
org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBuildConditionsContainer
org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPostBuild
- All Implemented Interfaces:
ModelASTMarkerInterface
Represents a list of
BuildCondition
and StepsBlock
pairs to be called, depending on whether the build
condition is satisfied, at the end of the build, but before the Notifications
. Corresponds to PostBuild
.- Author:
- Andrew Bayer
-
Constructor Summary
-
Method Summary
Methods inherited from class org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBuildConditionsContainer
equals, getConditions, hashCode, removeSourceLocation, setConditions, toGroovy, toJSON
Methods inherited from class org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTElement
getSourceLocation, nullIfEmpty, removeSourceLocationsFrom, removeSourceLocationsFrom, removeSourceLocationsFrom, removeSourceLocationsFrom, setSourceLocation, toGroovy, toGroovy, toGroovyArgList, toGroovyArgList, toGroovyBlock, toGroovyBlock, toGroovyBlock, toGroovyCheckEmpty, toJSON, toJSONArray, toJSONArray, toJSONCheckEmpty, toJSONObject, validate, validate, validate
-
Constructor Details
-
ModelASTPostBuild
-
-
Method Details
-
getName
- Specified by:
getName
in classModelASTBuildConditionsContainer
-
toString
Description copied from class:ModelASTElement
- Overrides:
toString
in classModelASTBuildConditionsContainer
-
validate
Description copied from class:ModelASTElement
Called to do whatever validation is necessary for this element. Overridden in most cases.- Specified by:
validate
in interfaceModelASTMarkerInterface
- Overrides:
validate
in classModelASTBuildConditionsContainer
- Parameters:
validator
- AModelValidator
to use for more complicated validation.
-