@Restricted(value=org.kohsuke.accmod.restrictions.Beta.class) public abstract class PipelineDefinitionProvider extends Object implements hudson.ExtensionPoint
| Constructor and Description |
|---|
PipelineDefinitionProvider() |
| Modifier and Type | Method and Description |
|---|---|
static hudson.ExtensionList<PipelineDefinitionProvider> |
all()
Get all extension instances.
|
abstract void |
instrumentJob(org.jenkinsci.plugins.workflow.job.WorkflowJob job,
io.jenkins.jenkinsfile.runner.bootstrap.commands.PipelineRunOptions args)
Configures the Pipeline job.
|
abstract boolean |
matches(io.jenkins.jenkinsfile.runner.bootstrap.commands.PipelineRunOptions options)
Check whether the extension point can provide a Pipeline for the request.
|
public abstract boolean matches(io.jenkins.jenkinsfile.runner.bootstrap.commands.PipelineRunOptions options)
options - run optionstrue if the extension can produce the Pipeline definitionpublic abstract void instrumentJob(org.jenkinsci.plugins.workflow.job.WorkflowJob job,
io.jenkins.jenkinsfile.runner.bootstrap.commands.PipelineRunOptions args)
throws Exception
job - Job to be updatedException - modification failedpublic static hudson.ExtensionList<PipelineDefinitionProvider> all()
Copyright © 2004–2021. All rights reserved.