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
Keeps
UserDefinedGlobalVariable
s in ExtensionList
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 -
Method Summary
Modifier and TypeMethodDescriptionCollection<org.jenkinsci.plugins.workflow.cps.GlobalVariable>
void
rebuild()
Rebuilds the list ofUserDefinedGlobalVariable
s and updateExtensionList
accordingly.Methods inherited from class org.jenkinsci.plugins.workflow.cps.GlobalVariableSet
forJob, iterator
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
-
Constructor Details
-
UserDefinedGlobalVariableList
public UserDefinedGlobalVariableList()
-
-
Method Details
-
rebuild
public void rebuild()Rebuilds the list ofUserDefinedGlobalVariable
s and updateExtensionList
accordingly. -
forRun
- Overrides:
forRun
in classorg.jenkinsci.plugins.workflow.cps.GlobalVariableSet
-