Class PullRequestGlobalVariable
java.lang.Object
org.jenkinsci.plugins.workflow.cps.GlobalVariable
org.jenkinsci.plugins.pipeline.github.PullRequestGlobalVariable
- All Implemented Interfaces:
ExtensionPoint
public class PullRequestGlobalVariable
extends org.jenkinsci.plugins.workflow.cps.GlobalVariable
Factory for our
PullRequestGroovyObject
instance.- Author:
- Aaron Whiteside
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class org.jenkinsci.plugins.workflow.cps.GlobalVariable
ALL
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jenkinsci.plugins.workflow.cps.GlobalVariable
byName, forJob, forRun
-
Constructor Details
-
PullRequestGlobalVariable
public PullRequestGlobalVariable()
-
-
Method Details
-
getName
- Specified by:
getName
in classorg.jenkinsci.plugins.workflow.cps.GlobalVariable
-
getValue
@NonNull public Object getValue(@NonNull org.jenkinsci.plugins.workflow.cps.CpsScript script) throws Exception - Specified by:
getValue
in classorg.jenkinsci.plugins.workflow.cps.GlobalVariable
- Throws:
Exception
-