Class ModelStepLoader
java.lang.Object
org.jenkinsci.plugins.workflow.cps.GlobalVariable
org.jenkinsci.plugins.pipeline.modeldefinition.ModelStepLoader
- All Implemented Interfaces:
ExtensionPoint
Loads the main "pipeline" step as well as the additional CPS-transformed code it depends on.
- Author:
- Andrew Bayer
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
FieldsFields 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
-
Field Details
-
STEP_NAME
- See Also:
-
-
Constructor Details
-
ModelStepLoader
public ModelStepLoader()
-
-
Method Details
-
getName
- Specified by:
getNamein classorg.jenkinsci.plugins.workflow.cps.GlobalVariable
-
getValue
@NonNull public Object getValue(@NonNull org.jenkinsci.plugins.workflow.cps.CpsScript script) throws Exception - Specified by:
getValuein classorg.jenkinsci.plugins.workflow.cps.GlobalVariable- Throws:
Exception
-
invalidateOptionTypeCaches
Make sure we've invalidated the option type caches due to potential race conditions with their population. Because we're usingInitializer, we need this to be triggered in anExtension, so here is as good a place as any.
-