Uses of Class
aQute.bnd.osgi.Jar
Packages that use Jar
Package
Description
This package provides baseline support.
-
Uses of Jar in aQute.bnd.ant
Fields in aQute.bnd.ant with type parameters of type JarMethods in aQute.bnd.ant that return types with arguments of type Jar -
Uses of Jar in aQute.bnd.build
Methods in aQute.bnd.build that return JarModifier and TypeMethodDescriptionJar[]
ProjectBuilder.builds()
Add some extra stuff to the builds() method like exporting.ProjectLauncher.executable()
Create a self executable.ProjectBuilder.getBaselineJar()
This method attempts to find the baseline jar for the current project.ProjectBuilder.getLastRevision()
Project.getValidJar
(Jar jar, String id) Project.getValidJar
(File f) This methods attempts to turn any jar into a valid jar.Project.getValidJar
(URL url) 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 JarMethods in aQute.bnd.build with parameters of type JarModifier and TypeMethodDescriptionvoid
ProjectBuilder.doBaseline
(Jar dot) Compare this builder's JAR with a baselineProject.getValidJar
(Jar jar, String id) private void
Project.reportNewer
(long lastModified, Jar jar) private File
Project.saveBuildWithoutClose
(Jar jar) -
Uses of Jar in aQute.bnd.compatibility
Methods in aQute.bnd.compatibility with parameters of type Jar -
Uses of Jar in aQute.bnd.differ
Methods in aQute.bnd.differ with parameters of type JarModifier and TypeMethodDescriptionBaseline.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) -
Uses of Jar in aQute.bnd.exporter.executable
Methods in aQute.bnd.exporter.executable that return Jar -
Uses of Jar in aQute.bnd.exporter.runbundles
Methods in aQute.bnd.exporter.runbundles with parameters of type JarModifier and TypeMethodDescriptionprivate String
RunbundlesExporter.nonCollidingPath
(Jar jar, String fileName) -
Uses of Jar in aQute.bnd.junit
Fields in aQute.bnd.junit declared as Jar -
Uses of Jar in aQute.bnd.main
Methods in aQute.bnd.main that return JarModifier and TypeMethodDescription(package private) Jar
Central routine to get a JAR with error checkingMethods in aQute.bnd.main with parameters of type JarModifier and TypeMethodDescriptionprivate void
Helper for the jar create function, adds files to the jarprivate void
private void
BaselineCommands.baseline
(BaselineCommands.baseLineOptions opts, Jar newer, Jar older, Instructions packages) private void
DiffCommand.diff
(DiffCommand.diffOptions options, DiffPluginImpl di, Jar newer, Jar older) private static Tag
DiffCommand.getTagFrom
(String name, Jar jar) -
Uses of Jar in aQute.bnd.maven
Methods in aQute.bnd.maven that return JarModifier and TypeMethodDescriptionprotected Jar
MavenCommand.getJarFromFileOrURL
(String spec) private Jar
private Jar
private Jar
Methods in aQute.bnd.maven with parameters of type JarModifier and TypeMethodDescriptionprivate void
private void
MavenCommand.copyInfoResource
(Jar source, Jar dest, String type) boolean
private void
private void
-
Uses of Jar in aQute.bnd.maven.plugin
Methods in aQute.bnd.maven.plugin with parameters of type Jar -
Uses of Jar in aQute.bnd.obr
Methods in aQute.bnd.obr with parameters of type JarModifier and TypeMethodDescriptionstatic Reporter
OBRFragment.parse
(Jar jar, ResourceBuilder resource) -
Uses of Jar in aQute.bnd.osgi
Fields in aQute.bnd.osgi declared as JarModifier and TypeFieldDescriptionprivate Jar
Analyzer.dot
private final Jar
Verifier.dot
private final Jar
JarResource.jar
(package private) Jar
ActivelyClosingClassLoader.Wrapper.jarFile
Fields in aQute.bnd.osgi with type parameters of type JarMethods in aQute.bnd.osgi that return JarModifier and TypeMethodDescriptionBuilder.build()
private Jar
Jar.buildFromDirectory
(Path baseDir, Pattern doNotCopy) private Jar
Jar.buildFromInputStream
(InputStream in) private Jar
Jar.buildFromResource
(Resource resource) private Jar
Jar.buildFromZip
(File file) Jar[]
Builder.builds()
Build Multiple jars.private Jar
Turn this normal bundle in a web and add any resources.Analyzer.findClasspathEntry
(String bsn, String r) Find a class path entry based on bsn and versionrangestatic Jar
Jar.fromResource
(String name, Resource resource) private Jar
Builder.getBuildJar()
protected Jar
Analyzer.getExtra()
protected Jar
Builder.getExtra()
Answer extra packages.Analyzer.getJar()
JarResource.getJar()
Analyzer.getJarFromName
(String name, 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.Processor.getJarFromName
(String name, 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.Analyzer.getTarget()
Jar.setCalculateFileDigest
(boolean onOrOff) Make this jar calculate the SHA256 when it is saved as a file.Set the JAR directly we are going to work on.Set the JAR file we are going to work in.private Jar
Methods in aQute.bnd.osgi that return types with arguments of type JarModifier and TypeMethodDescriptionBuilder.filterFrom
(Instruction from, List<Jar> providers) Analyzer.getClasspath()
Analyzer.getJarsFromName
(String name, String from) Methods in aQute.bnd.osgi with parameters of type JarModifier and TypeMethodDescriptionboolean
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, String destination) Add all the resources in the given jar that match the given filter.boolean
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, 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
Add a wab lib to the jar.private boolean
Analyzer.analyzeJar
(Jar jar, String prefix, boolean okToIncludeDirs, String bcpEntry) We traverse through all the classes that we can find and calculate the contained and referred set and uses.Analyzer.calculateExportsFromContents
(Jar bundle) Calculate an export header solely based on the contents of a JAR fileprivate void
Copyprivate void
private void
void
private void
Builder.copyPackage
(Jar dest, List<Jar> providers, 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, String name, Map<String, String> extra, Instructions preprocess, boolean absentIsOk) private void
Builder.doCommand
(Jar jar, String source, String destination, Map<String, 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
Diff this bundle to another bundle for the given packages.private void
Check if we need to calculate any checksums.private void
private Set<Instruction>
Destructively filter the packages from the build up index.private void
Builder.doIncludeResource
(Jar jar, Parameters clauses) private void
Builder.doIncludeResource
(Jar jar, String includes) private void
private void
Builder.doIncludeResources
(Jar jar) Parse the Bundle-Includes header.private void
Analyzer.doNamesection
(Jar dot, Manifest manifest) Parse the namesection as instructions and then match them against the current set of resources For example:(package private) void
private String
Builder.doResourceDirectory
(Jar jar, Map<String, String> extra, Instructions preprocess, File sourceFile, String destinationPath) private void
Builder.doSaveManifest
(Jar dot) Get the manifest and write it out separately if -savemanifest is setprivate void
private Jar
Turn this normal bundle in a web and add any resources.private void
Builder.extractFromJar
(Jar jar, String source, 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 String
private void
Analyzer.learnPackage
(Jar jar, String prefix, Descriptors.PackageRef packageRef, Packages map) private void
Builder.noSuchFile
(Jar jar, String clause, Map<String, String> extra, String source, String destinationPath) void
Analyzer.setClasspath
(Jar[] classpath) Set the JAR directly we are going to work on.void
Domain.setTranslation
(Jar jar) (package private) void
Sign the jar file.Method parameters in aQute.bnd.osgi with type arguments of type JarModifier and TypeMethodDescriptionprivate void
Builder.copyPackage
(Jar dest, List<Jar> providers, String path, int splitStrategy) Copy the package from the providers based on the split package strategy.private String
Builder.diagnostic
(String pack, List<Jar> culprits) Analyze the classpath for a split packageprivate Set<Instruction>
Destructively filter the packages from the build up index.Builder.filterFrom
(Instruction from, List<Jar> providers) Constructors in aQute.bnd.osgi with parameters of type Jar -
Uses of Jar in aQute.bnd.osgi.resource
Methods in aQute.bnd.osgi.resource with parameters of type Jar -
Uses of Jar in aQute.bnd.plugin.jpms
Methods in aQute.bnd.plugin.jpms with parameters of type JarModifier and TypeMethodDescriptionprivate 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 JarModifier and TypeMethodDescriptionvoid
JarPrinter.doCapabilities
(Jar jar) private void
JarPrinter.doComponents
(Jar jar) Print the components in this JAR.void
void
void
JarPrinter.doManifest
(Jar jar) void
JarPrinter.doMetatype
(Jar jar) Print the metatypes in this JAR.void
void
-
Uses of Jar in aQute.bnd.service
Methods in aQute.bnd.service with parameters of type JarModifier and TypeMethodDescriptionvoid
RepositoryListenerPlugin.bundleAdded
(RepositoryPlugin repository, Jar jar, File file) Called when a bundle is added to a repository.void
RepositoryListenerPlugin.bundleRemoved
(RepositoryPlugin repository, Jar jar, 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 -
Uses of Jar in aQute.bnd.signing
Methods in aQute.bnd.signing with parameters of type JarModifier and TypeMethodDescriptionprivate void
Signer.doManifest
(Jar jar, String[] digestNames, MessageDigest[] algorithms, OutputStream out) void
-
Uses of Jar in aQute.lib.deployer
Methods in aQute.lib.deployer with parameters of type JarModifier and TypeMethodDescriptionFileRepo.buildDescriptor
(File f, Jar jar, byte[] digest, String bsn, Version version)