|Constructor and Description|
|Modifier and Type||Method and Description|
Check for libraries visible to a given job.
A list of libraries that may have already been configured in this context.
Whether these libraries should be run outside the sandbox.
A list of libraries that might be visible in a given location.
public boolean isTrusted()
public Collection<LibraryConfiguration> forJob(Job<?,?> job, Map<String,String> libraryVersions)
An implementation may ignore the
and simply list configured libraries visible to the job;
the caller will select which libraries to actually load,
taking into account
Or it may dynamically generate library configurations
by matching library names against some predefined pattern.
By returning a library with a matching
this resolver “claims” that entry of
subsequent resolvers will not be offered that entry.
It is an error if no resolver claims a given entry.
Multiple resolvers might return a library of a given name if the libraries are implicit,
in which case only the first will be loaded.
public Collection<LibraryConfiguration> fromConfiguration(org.kohsuke.stapler.StaplerRequest request)
public Collection<LibraryConfiguration> suggestedConfigurations(ItemGroup<?> group)
LibraryResolver.forJob(hudson.model.Job<?, ?>, java.util.Map<java.lang.String, java.lang.String>)applied to
AbstractItem.getParent(). If a resolver can dynamically generate library configurations, it can simply return one or more examples here.
Copyright © 2016–2022. All rights reserved.