public abstract class ClasspathAdder extends Object implements ExtensionPoint
Modifier and Type | Class and Description |
---|---|
static class |
ClasspathAdder.Addition |
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
ClasspathAdder() |
Modifier and Type | Method and Description |
---|---|
abstract List<ClasspathAdder.Addition> |
add(org.jenkinsci.plugins.workflow.cps.CpsFlowExecution execution,
List<String> libraries,
HashMap<String,Boolean> changelogs)
May add to the classpath.
|
@NonNull public abstract List<ClasspathAdder.Addition> add(@NonNull org.jenkinsci.plugins.workflow.cps.CpsFlowExecution execution, @NonNull List<String> libraries, @NonNull HashMap<String,Boolean> changelogs) throws Exception
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.