Uses of Class
aQute.bnd.osgi.Jar
-
Packages that use Jar Package Description aQute.bnd.build aQute.bnd.compatibility aQute.bnd.differ This package provides baseline support.aQute.bnd.exporter.executable aQute.bnd.exporter.runbundles aQute.bnd.junit aQute.bnd.maven aQute.bnd.obr aQute.bnd.osgi aQute.bnd.osgi.resource aQute.bnd.plugin.jpms aQute.bnd.print aQute.bnd.service aQute.bnd.service.diff aQute.bnd.signing aQute.lib.deployer -
-
Uses of Jar in aQute.bnd.build
Methods in aQute.bnd.build that return Jar Modifier and Type Method Description Jar[]
ProjectBuilder. builds()
Add some extra stuff to the builds() method like exporting.Jar
ProjectLauncher. executable()
Create a self executable.Jar
ProjectBuilder. getBaselineJar()
This method attempts to find the baseline jar for the current project.Jar
ProjectBuilder. getLastRevision()
Jar
Project. getValidJar(Jar jar, java.lang.String id)
Jar
Project. getValidJar(java.io.File f)
This methods attempts to turn any jar into a valid jar.Jar
Project. getValidJar(java.net.URL url)
Jar
Project. pack(java.lang.String profile)
Pack the project (could be a bndrun file) and save it on disk.Methods in aQute.bnd.build that return types with arguments of type Jar Modifier and Type Method Description java.util.List<Jar>
ProjectBuilder. getClasspath()
Methods in aQute.bnd.build with parameters of type Jar Modifier and Type Method Description void
ProjectBuilder. doBaseline(Jar dot)
Compare this builder's JAR with a baselineJar
Project. getValidJar(Jar jar, java.lang.String id)
private void
Project. reportNewer(long lastModified, Jar jar)
java.io.File
Project. saveBuild(Jar jar)
private java.io.File
Project. saveBuildWithoutClose(Jar jar)
-
Uses of Jar in aQute.bnd.compatibility
Methods in aQute.bnd.compatibility with parameters of type Jar Modifier and Type Method Description void
ParseSignatureBuilder. add(Jar jar)
-
Uses of Jar in aQute.bnd.differ
Methods in aQute.bnd.differ with parameters of type Jar Modifier and Type Method Description java.util.Set<Baseline.Info>
Baseline. baseline(Jar newer, Jar older, Instructions packageFilters)
This method compares a jar to a baseline jar and returns version suggestions if the baseline does not agree with the newer jar.private Parameters
Baseline. getExports(Jar jar)
Tree
DiffPluginImpl. tree(Jar newer)
-
Uses of Jar in aQute.bnd.exporter.executable
Methods in aQute.bnd.exporter.executable that return Jar Modifier and Type Method Description private Jar
ExecutableJarExporter. defaultExporter(Project project, java.util.Map<java.lang.String,java.lang.String> options)
static Jar
ExecutableJarExporter. pack(Project project, java.lang.String profile)
-
Uses of Jar in aQute.bnd.exporter.runbundles
Methods in aQute.bnd.exporter.runbundles with parameters of type Jar Modifier and Type Method Description private java.lang.String
RunbundlesExporter. nonCollidingPath(Jar jar, java.lang.String fileName)
-
Uses of Jar in aQute.bnd.junit
Fields in aQute.bnd.junit declared as Jar Modifier and Type Field Description Jar
JUnitFramework. bin_test
Deprecated. -
Uses of Jar in aQute.bnd.maven
Methods in aQute.bnd.maven that return Jar Modifier and Type Method Description protected Jar
MavenCommand. getJarFromFileOrURL(java.lang.String spec)
private Jar
MavenCommand. javadoc(java.io.File source, java.util.Set<java.lang.String> exports, java.util.jar.Manifest m, java.util.Properties p)
private Jar
MavenDeploy. javadoc(java.io.File tmp, Project b, java.util.Set<java.lang.String> exports)
private Jar
MavenDeployCmd. javadoc(java.io.File tmp, Project b, java.util.Set<java.lang.String> exports)
Methods in aQute.bnd.maven with parameters of type Jar Modifier and Type Method Description private void
MavenCommand. copyInfo(Jar source, Jar dest, java.lang.String type)
private void
MavenCommand. copyInfoResource(Jar source, Jar dest, java.lang.String type)
boolean
MavenDeployCmd. deploy(Project project, Jar original)
private void
MavenDeploy. split(Jar original, Jar main, Jar src)
private void
MavenDeployCmd. split(Jar original, Jar main, Jar src)
-
Uses of Jar in aQute.bnd.obr
Methods in aQute.bnd.obr with parameters of type Jar Modifier and Type Method Description static Reporter
OBRFragment. parse(Jar jar, ResourceBuilder resource)
-
Uses of Jar in aQute.bnd.osgi
Fields in aQute.bnd.osgi declared as Jar Modifier and Type Field Description private Jar
Analyzer. dot
private Jar
Verifier. dot
private Jar
JarResource. jar
(package private) Jar
ActivelyClosingClassLoader.Wrapper. jarFile
Fields in aQute.bnd.osgi with type parameters of type Jar Modifier and Type Field Description private java.util.List<Jar>
Analyzer. classpath
Methods in aQute.bnd.osgi that return Jar Modifier and Type Method Description Jar
Builder. build()
private Jar
Jar. buildFromDirectory(java.nio.file.Path baseDir, java.util.regex.Pattern doNotCopy)
private Jar
Jar. buildFromInputStream(java.io.InputStream in)
private Jar
Jar. buildFromResource(Resource resource)
private Jar
Jar. buildFromZip(java.io.File file)
Jar[]
Builder. builds()
Build Multiple jars.private Jar
Builder. doWab(Jar dot)
Turn this normal bundle in a web and add any resources.Jar
Analyzer. findClasspathEntry(java.lang.String bsn, java.lang.String r)
Find a class path entry based on bsn and versionrangestatic Jar
Jar. fromResource(java.lang.String name, Resource resource)
private Jar
Builder. getBuildJar()
protected Jar
Analyzer. getExtra()
protected Jar
Builder. getExtra()
Answer extra packages.Jar
Analyzer. getJar()
Jar
JarResource. getJar()
Jar
Analyzer. getJarFromName(java.lang.String name, java.lang.String from)
Try to get a Jar from a file name/path or a url, or in last resort from the classpath name part of their files.Jar
Processor. getJarFromName(java.lang.String name, java.lang.String from)
Try to get a Jar from a file name/path or a url, or in last resort from the classpath name part of their files.Jar
Analyzer. getTarget()
Jar
Jar. setCalculateFileDigest(boolean onOrOff)
Make this jar calculate the SHA256 when it is saved as a file.Jar
Analyzer. setJar(Jar jar)
Set the JAR directly we are going to work on.Jar
Analyzer. setJar(java.io.File file)
Set the JAR file we are going to work in.private Jar
Analyzer. toJar(java.util.Map.Entry<java.lang.String,Attrs> host)
Methods in aQute.bnd.osgi that return types with arguments of type Jar Modifier and Type Method Description private java.util.List<Jar>
Builder. filterFrom(Instruction from, java.util.List<Jar> providers)
java.util.List<Jar>
Analyzer. getClasspath()
java.util.List<Jar>
Analyzer. getJarsFromName(java.lang.String name, java.lang.String from)
Methods in aQute.bnd.osgi with parameters of type Jar Modifier and Type Method Description boolean
Builder. addAll(Jar to, Jar sub, Instruction filter)
Add all the resources in the given jar that match the given filter.boolean
Builder. addAll(Jar to, Jar sub, Instruction filter, java.lang.String destination)
Add all the resources in the given jar that match the given filter.boolean
Jar. addAll(Jar src)
boolean
Jar. addAll(Jar sub, Instruction filter)
Add all the resources in the given jar that match the given filter.boolean
Jar. addAll(Jar sub, Instruction filter, java.lang.String destination)
Add all the resources in the given jar that match the given filter.void
Analyzer. addClasspath(Jar jar)
private void
Builder. addSources(Jar dot)
private void
Builder. addWabLib(Jar dot, java.io.File f, java.lang.String name, java.util.Map<java.lang.String,java.lang.String> attrs)
Add a wab lib to the jar.private boolean
Analyzer. analyzeJar(Jar jar, java.lang.String prefix, boolean okToIncludeDirs, java.lang.String bcpEntry)
We traverse through all the classes that we can find and calculate the contained and referred set and uses.java.lang.String
Analyzer. calculateExportsFromContents(Jar bundle)
Calculate an export header solely based on the contents of a JAR fileprivate void
Builder. copy(Jar dest, Jar srce, java.lang.String path, boolean overwrite)
Copyprivate void
Builder. copy(Jar jar, java.lang.String path, Resource resource, java.util.Map<java.lang.String,java.lang.String> extra)
private void
Builder. copy(Jar jar, java.lang.String path, java.io.File from, Instructions preprocess, java.util.Map<java.lang.String,java.lang.String> extra)
void
Jar. copy(Jar srce, java.lang.String path, boolean overwrite)
private void
Builder. copyPackage(Jar dest, java.util.List<Jar> providers, java.lang.String path, int splitStrategy)
Copy the package from the providers based on the split package strategy.protected void
Builder. doBaseline(Jar dot)
Base line against a previous version.private void
Builder. doClassAttribute(Jar jar, java.lang.String name, java.util.Map<java.lang.String,java.lang.String> extra, Instructions preprocess, boolean absentIsOk)
private void
Builder. doCommand(Jar jar, java.lang.String source, java.lang.String destination, java.util.Map<java.lang.String,java.lang.String> extra, Instructions preprocess, boolean absentIsOk)
It is possible in Include-Resource to use a system command that generates the contents, this is indicated withcmd
attribute.void
Builder. doDiff(Jar dot)
Diff this bundle to another bundle for the given packages.private void
Builder. doDigests(Jar dot)
Check if we need to calculate any checksums.private void
Builder. doExpand(Jar dot)
private java.util.Set<Instruction>
Builder. doExpand(Jar jar, MultiMap<java.lang.String,Jar> index, Instructions filter)
Destructively filter the packages from the build up index.private void
Builder. doIncludeResource(Jar jar, Parameters clauses)
private void
Builder. doIncludeResource(Jar jar, java.lang.String includes)
private void
Builder. doIncludeResource(Jar jar, java.lang.String name, java.util.Map<java.lang.String,java.lang.String> extra)
private void
Builder. doIncludeResources(Jar jar)
Parse the Bundle-Includes header.private void
Analyzer. doNamesection(Jar dot, java.util.jar.Manifest manifest)
Parse the namesection as instructions and then match them against the current set of resources For example:(package private) void
Builder. doPom(Jar dot)
private java.lang.String
Builder. doResourceDirectory(Jar jar, java.util.Map<java.lang.String,java.lang.String> extra, Instructions preprocess, java.io.File sourceFile, java.lang.String destinationPath)
private void
Builder. doSaveManifest(Jar dot)
Get the manifest and write it out separately if -savemanifest is setprivate void
Builder. doVerify(Jar dot)
private Jar
Builder. doWab(Jar dot)
Turn this normal bundle in a web and add any resources.private void
Builder. extractFromJar(Jar jar, java.lang.String source, java.lang.String destination, boolean absentIsOk)
Extra resources from a Jar and add them to the given jar.private void
Analyzer. getManifestInfoFromClasspath(Jar jar, Packages classpathExports, Contracts contracts)
protected java.lang.String
Analyzer. getName(Jar jar)
private void
Analyzer. learnPackage(Jar jar, java.lang.String prefix, Descriptors.PackageRef packageRef, Packages map)
private void
Builder. noSuchFile(Jar jar, java.lang.String clause, java.util.Map<java.lang.String,java.lang.String> extra, java.lang.String source, java.lang.String destinationPath)
void
Analyzer. setClasspath(Jar[] classpath)
Jar
Analyzer. setJar(Jar jar)
Set the JAR directly we are going to work on.void
Domain. setTranslation(Jar jar)
(package private) void
Builder. sign(Jar jar)
Sign the jar file.Method parameters in aQute.bnd.osgi with type arguments of type Jar Modifier and Type Method Description private void
Builder. copyPackage(Jar dest, java.util.List<Jar> providers, java.lang.String path, int splitStrategy)
Copy the package from the providers based on the split package strategy.private java.lang.String
Builder. diagnostic(java.lang.String pack, java.util.List<Jar> culprits)
Analyze the classpath for a split packageprivate java.util.Set<Instruction>
Builder. doExpand(Jar jar, MultiMap<java.lang.String,Jar> index, Instructions filter)
Destructively filter the packages from the build up index.private java.util.List<Jar>
Builder. filterFrom(Instruction from, java.util.List<Jar> providers)
Constructors in aQute.bnd.osgi with parameters of type Jar Constructor Description Analyzer(Jar jar)
JarResource(Jar jar)
JarResource(Jar jar, boolean closeJar)
Verifier(Jar jar)
-
Uses of Jar in aQute.bnd.osgi.resource
Methods in aQute.bnd.osgi.resource with parameters of type Jar Modifier and Type Method Description static java.util.function.Supplier<org.osgi.resource.Resource>
ResourceBuilder. memoize(Jar jar, java.net.URI uri, java.lang.String projectName)
Create a deferred resource builder so that any expensive actions are deferred until the supplier is called to get the resource. -
Uses of Jar in aQute.bnd.plugin.jpms
Methods in aQute.bnd.plugin.jpms with parameters of type Jar Modifier and Type Method Description private java.lang.String
JPMSModuleInfoPlugin. getModuleName(Analyzer analyzer, Jar jar, Parameters moduleInfoOptions)
-
Uses of Jar in aQute.bnd.print
Methods in aQute.bnd.print with parameters of type Jar Modifier and Type Method Description void
JarPrinter. doCapabilities(Jar jar)
private void
JarPrinter. doComponents(Jar jar)
Print the components in this JAR.void
JarPrinter. doImpExp(Jar jar)
void
JarPrinter. doList(Jar jar)
void
JarPrinter. doManifest(Jar jar)
void
JarPrinter. doMetatype(Jar jar)
Print the metatypes in this JAR.JarPrinter
JarPrinter. doPrint(Jar jar, int options, boolean java, boolean xport)
void
JarPrinter. doVerify(Jar jar)
void
JarPrinter. doXref(Jar jar, int options, boolean java, boolean xport)
-
Uses of Jar in aQute.bnd.service
Methods in aQute.bnd.service with parameters of type Jar Modifier and Type Method Description void
RepositoryListenerPlugin. bundleAdded(RepositoryPlugin repository, Jar jar, java.io.File file)
Called when a bundle is added to a repository.void
RepositoryListenerPlugin. bundleRemoved(RepositoryPlugin repository, Jar jar, java.io.File file)
Called when a bundle removed from a repository. -
Uses of Jar in aQute.bnd.service.diff
Methods in aQute.bnd.service.diff with parameters of type Jar Modifier and Type Method Description Tree
Differ. tree(Jar source)
-
Uses of Jar in aQute.bnd.signing
Methods in aQute.bnd.signing with parameters of type Jar Modifier and Type Method Description private void
Signer. doManifest(Jar jar, java.lang.String[] digestNames, java.security.MessageDigest[] algorithms, java.io.OutputStream out)
void
Signer. signJar(Jar jar)
-
Uses of Jar in aQute.lib.deployer
Methods in aQute.lib.deployer with parameters of type Jar Modifier and Type Method Description private SearchableRepository.ResourceDescriptor
FileRepo. buildDescriptor(java.io.File f, Jar jar, byte[] digest, java.lang.String bsn, Version version)
-