public abstract class StepRuntimeTransformerContributor extends Object implements ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
StepRuntimeTransformerContributor() |
| Modifier and Type | Method and Description |
|---|---|
static ExtensionList<StepRuntimeTransformerContributor> |
all()
Get all
StepRuntimeTransformerContributors. |
org.codehaus.groovy.ast.stmt.BlockStatement |
handleBranch(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBranch branch)
Construct the new
BlockStatement for the given branch. |
org.codehaus.groovy.ast.expr.ClosureExpression |
handleBuildCondition(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBuildCondition condition,
org.codehaus.groovy.ast.expr.ClosureExpression body)
Construct the new
ClosureExpression for the given build condition. |
org.codehaus.groovy.ast.expr.ClosureExpression |
handleStage(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStage stage,
org.codehaus.groovy.ast.expr.ClosureExpression body)
Construct the new
ClosureExpression for the given stage. |
org.codehaus.groovy.ast.expr.MethodCallExpression |
handleStep(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStep step,
org.codehaus.groovy.ast.expr.MethodCallExpression methodCall)
Call
transformStep(ModelASTStep, MethodCallExpression) if appropriate, after handling any nested steps as well. |
static org.codehaus.groovy.ast.expr.ClosureExpression |
transformBuildCondition(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBuildCondition condition,
org.codehaus.groovy.ast.expr.ClosureExpression body)
Apply step transformation to the given build condition for all
StepRuntimeTransformerContributors. |
static org.codehaus.groovy.ast.expr.ClosureExpression |
transformStage(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStage stage,
org.codehaus.groovy.ast.expr.ClosureExpression body)
Apply step transformation to the given stage for all
StepRuntimeTransformerContributors. |
abstract org.codehaus.groovy.ast.expr.MethodCallExpression |
transformStep(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStep step,
org.codehaus.groovy.ast.expr.MethodCallExpression methodCall) |
@Nonnull public final org.codehaus.groovy.ast.expr.ClosureExpression handleStage(@Nonnull org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStage stage, @Nonnull org.codehaus.groovy.ast.expr.ClosureExpression body)
ClosureExpression for the given stage.@Nonnull public final org.codehaus.groovy.ast.expr.ClosureExpression handleBuildCondition(@Nonnull org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBuildCondition condition, @Nonnull org.codehaus.groovy.ast.expr.ClosureExpression body)
ClosureExpression for the given build condition.@Nonnull public final org.codehaus.groovy.ast.stmt.BlockStatement handleBranch(@Nonnull org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBranch branch)
BlockStatement for the given branch.@Nonnull public final org.codehaus.groovy.ast.expr.MethodCallExpression handleStep(@Nonnull org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStep step, @Nonnull org.codehaus.groovy.ast.expr.MethodCallExpression methodCall)
transformStep(ModelASTStep, MethodCallExpression) if appropriate, after handling any nested steps as well.@Nonnull public abstract org.codehaus.groovy.ast.expr.MethodCallExpression transformStep(@Nonnull org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStep step, @Nonnull org.codehaus.groovy.ast.expr.MethodCallExpression methodCall)
public static ExtensionList<StepRuntimeTransformerContributor> all()
StepRuntimeTransformerContributors.StepRuntimeTransformerContributors registered.@Nonnull public static org.codehaus.groovy.ast.expr.ClosureExpression transformStage(@Nonnull org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStage stage, @Nonnull org.codehaus.groovy.ast.expr.ClosureExpression body)
StepRuntimeTransformerContributors.@Nonnull public static org.codehaus.groovy.ast.expr.ClosureExpression transformBuildCondition(@Nonnull org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBuildCondition condition, @Nonnull org.codehaus.groovy.ast.expr.ClosureExpression body)
StepRuntimeTransformerContributors.Copyright © 2016–2019. All rights reserved.