Class LibraryDecorator
- java.lang.Object
-
- org.jenkinsci.plugins.workflow.cps.GroovyShellDecorator
-
- org.jenkinsci.plugins.workflow.libs.LibraryDecorator
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class LibraryDecorator extends org.jenkinsci.plugins.workflow.cps.GroovyShellDecorator
Adds an import forLibrary
, checks for it being used, and actually loads the library.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description LibraryDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configureCompiler(org.jenkinsci.plugins.workflow.cps.CpsFlowExecution execution, org.codehaus.groovy.control.CompilerConfiguration cc)
void
customizeImports(org.jenkinsci.plugins.workflow.cps.CpsFlowExecution execution, org.codehaus.groovy.control.customizers.ImportCustomizer ic)
-
-
-
Method Detail
-
customizeImports
public void customizeImports(org.jenkinsci.plugins.workflow.cps.CpsFlowExecution execution, org.codehaus.groovy.control.customizers.ImportCustomizer ic)
- Overrides:
customizeImports
in classorg.jenkinsci.plugins.workflow.cps.GroovyShellDecorator
-
configureCompiler
public void configureCompiler(org.jenkinsci.plugins.workflow.cps.CpsFlowExecution execution, org.codehaus.groovy.control.CompilerConfiguration cc)
- Overrides:
configureCompiler
in classorg.jenkinsci.plugins.workflow.cps.GroovyShellDecorator
-
-