Class LibraryAdder
java.lang.Object
org.jenkinsci.plugins.workflow.libs.ClasspathAdder
org.jenkinsci.plugins.workflow.libs.LibraryAdder
- All Implemented Interfaces:
- ExtensionPoint
Given 
LibraryResolver, actually adds to the Groovy classpath.- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classNested classes/interfaces inherited from class org.jenkinsci.plugins.workflow.libs.ClasspathAdderClasspathAdder.AdditionNested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudson
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
LibraryAdderpublic LibraryAdder()
 
- 
- 
Method Details- 
addpublic List<ClasspathAdder.Addition> add(org.jenkinsci.plugins.workflow.cps.CpsFlowExecution execution, List<String> libraries, HashMap<String, Boolean> changelogs) throws ExceptionDescription copied from class:ClasspathAdderMay add to the classpath.- Specified by:
- addin class- ClasspathAdder
- Parameters:
- execution- a running build (possibly newly started, possibly resumed)
- libraries- aggregated entries from all encountered- Library.value()(will be empty if- Libraryis never used at all); an implementation should remove entries it “claims”
- Returns:
- a possibly empty list of additions
- Throws:
- Exception- for whatever reason (will fail compilation)
 
 
-