@Extension public class LibraryAdder extends ClasspathAdder
LibraryResolver
, actually adds to the Groovy classpath.Modifier and Type | Class and Description |
---|---|
static class |
LibraryAdder.Copier |
static class |
LibraryAdder.GlobalVars |
static class |
LibraryAdder.LoadedLibraries |
ClasspathAdder.Addition
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
LibraryAdder() |
Modifier and Type | Method and Description |
---|---|
List<ClasspathAdder.Addition> |
add(org.jenkinsci.plugins.workflow.cps.CpsFlowExecution execution,
List<String> libraries,
HashMap<String,Boolean> changelogs)
May add to the classpath.
|
public List<ClasspathAdder.Addition> add(org.jenkinsci.plugins.workflow.cps.CpsFlowExecution execution, List<String> libraries, HashMap<String,Boolean> changelogs) throws Exception
ClasspathAdder
add
in class ClasspathAdder
execution
- a running build (possibly newly started, possibly resumed)libraries
- aggregated entries from all encountered Library.value()
(will be empty if Library
is never used at all); an implementation should remove entries it “claims”Exception
- for whatever reason (will fail compilation)Copyright © 2016–2022. All rights reserved.