Class ParamsVariable
java.lang.Object
org.jenkinsci.plugins.workflow.cps.GlobalVariable
org.jenkinsci.plugins.workflow.cps.ParamsVariable
- All Implemented Interfaces:
- ExtensionPoint
Allows access to 
ParametersAction.- 
Nested Class SummaryNested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudson
- 
Field SummaryFields inherited from class org.jenkinsci.plugins.workflow.cps.GlobalVariableALL
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.jenkinsci.plugins.workflow.cps.GlobalVariablebyName, forJob, forRun
- 
Constructor Details- 
ParamsVariablepublic ParamsVariable()
 
- 
- 
Method Details- 
getNameDescription copied from class:GlobalVariableDefines the name of the variable.- Specified by:
- getNamein class- GlobalVariable
- Returns:
- a Java identifier
 
- 
getValueDescription copied from class:GlobalVariableGets or creates the singleton value of the variable. If the object is stateful, and the state should not be managed externally (such as with aRunAction2), then the implementation is responsible for saving it in theScript.getBinding().- Specified by:
- getValuein class- GlobalVariable
- Parameters:
- script- the script we are running
- Returns:
- a POJO or GroovyObject
- Throws:
- Exception- if there was any problem creating it (will be thrown up to the script)
- See Also:
 
 
-