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
UserDefinedGlobalVariables 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.GlobalVariableProviderNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<org.jenkinsci.plugins.workflow.cps.GlobalVariable>voidrebuild()Rebuilds the list ofUserDefinedGlobalVariables and updateExtensionListaccordingly.Methods inherited from class org.jenkinsci.plugins.workflow.cps.GlobalVariableSet
forJob, iteratorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
UserDefinedGlobalVariableList
public UserDefinedGlobalVariableList()
-
-
Method Details
-
rebuild
public void rebuild()Rebuilds the list ofUserDefinedGlobalVariables and updateExtensionListaccordingly. -
forRun
- Overrides:
forRunin classorg.jenkinsci.plugins.workflow.cps.GlobalVariableSet
-