Class UserDefinedGlobalVariableList
- java.lang.Object
-
- org.jenkinsci.plugins.workflow.cps.GlobalVariableSet
-
- org.jenkinsci.plugins.workflow.cps.global.UserDefinedGlobalVariableList
-
- All Implemented Interfaces:
ExtensionPoint
,Iterable<org.jenkinsci.plugins.workflow.cps.GlobalVariable>
@Extension public class UserDefinedGlobalVariableList extends org.jenkinsci.plugins.workflow.cps.GlobalVariableSet
KeepsUserDefinedGlobalVariable
s inExtensionList
up-to-date from$JENKINS_HOME/workflow-libs/vars/*.groovy
.- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jenkinsci.plugins.workflow.cps.GlobalVariableSet
org.jenkinsci.plugins.workflow.cps.GlobalVariableSet.GlobalVariableProvider
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description UserDefinedGlobalVariableList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<org.jenkinsci.plugins.workflow.cps.GlobalVariable>
forRun(Run<?,?> run)
void
rebuild()
Rebuilds the list ofUserDefinedGlobalVariable
s and updateExtensionList
accordingly.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
rebuild
public void rebuild()
Rebuilds the list ofUserDefinedGlobalVariable
s and updateExtensionList
accordingly.
-
forRun
public Collection<org.jenkinsci.plugins.workflow.cps.GlobalVariable> forRun(Run<?,?> run)
- Overrides:
forRun
in classorg.jenkinsci.plugins.workflow.cps.GlobalVariableSet
-
-