Class ExpressionConditional
java.lang.Object
hudson.model.AbstractDescribableImpl<T>
org.jenkinsci.plugins.pipeline.modeldefinition.withscript.WithScriptDescribable<S>
org.jenkinsci.plugins.pipeline.modeldefinition.when.DeclarativeStageConditional<ExpressionConditional>
org.jenkinsci.plugins.pipeline.modeldefinition.when.impl.ExpressionConditional
- All Implemented Interfaces:
ExtensionPoint
,Describable<ExpressionConditional>
,Serializable
public class ExpressionConditional
extends org.jenkinsci.plugins.pipeline.modeldefinition.when.DeclarativeStageConditional<ExpressionConditional>
Stage condition based on the current branch. i.e. the env var BRANCH_NAME.
As populated by
BranchNameContributor
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBlock()
groovy.lang.Closure
void
setClosureBlock
(groovy.lang.Closure closureBlock) Methods inherited from class org.jenkinsci.plugins.pipeline.modeldefinition.when.DeclarativeStageConditional
getChildren, getDescriptor
Methods inherited from class org.jenkinsci.plugins.pipeline.modeldefinition.withscript.WithScriptDescribable
getScript
-
Constructor Details
-
ExpressionConditional
Deprecated. -
ExpressionConditional
@DataBoundConstructor public ExpressionConditional()
-
-
Method Details
-
getBlock
-
getClosureBlock
public groovy.lang.Closure getClosureBlock() -
setClosureBlock
public void setClosureBlock(groovy.lang.Closure closureBlock)
-