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 TypeMethodDescriptionvoidProjectBuilder.doBaseline(Jar dot) Compare this builder's JAR with a baselineProject.getValidJar(Jar jar, String id) private voidProject.reportNewer(long lastModified, Jar jar) private FileProject.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 ParametersBaseline.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 StringRunbundlesExporter.nonCollidingPath(Jar jar, String fileName, String prefix) -
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) JarCentral routine to get a JAR with error checkingMethods in aQute.bnd.main with parameters of type JarModifier and TypeMethodDescriptionprivate voidHelper for the jar create function, adds files to the jarprivate voidprivate voidBaselineCommands.baseline(BaselineCommands.baseLineOptions opts, Jar newer, Jar older, Instructions packages) private voidDiffCommand.diff(DiffCommand.diffOptions options, DiffPluginImpl di, Jar newer, Jar older) private static TagDiffCommand.getTagFrom(String name, Jar jar) -
Uses of Jar in aQute.bnd.maven
Methods in aQute.bnd.maven that return JarModifier and TypeMethodDescriptionprotected JarMavenCommand.getJarFromFileOrURL(String spec) private Jarprivate Jarprivate JarMethods in aQute.bnd.maven with parameters of type JarModifier and TypeMethodDescriptionprivate voidprivate voidMavenCommand.copyInfoResource(Jar source, Jar dest, String type) booleanprivate voidprivate void -
Uses of Jar in aQute.bnd.obr
Methods in aQute.bnd.obr with parameters of type JarModifier and TypeMethodDescriptionstatic ReporterOBRFragment.parse(Jar jar, ResourceBuilder resource) -
Uses of Jar in aQute.bnd.osgi
Fields in aQute.bnd.osgi declared as JarModifier and TypeFieldDescriptionprivate JarAnalyzer.dotprivate final JarVerifier.dotprivate final JarJarResource.jar(package private) JarActivelyClosingClassLoader.Wrapper.jarFileFields in aQute.bnd.osgi with type parameters of type JarMethods in aQute.bnd.osgi that return JarModifier and TypeMethodDescriptionBuilder.build()private JarJar.buildFromDirectory(Path baseDir, Pattern doNotCopy) private JarJar.buildFromInputStream(InputStream in) private JarJar.buildFromResource(Resource resource) private JarJar.buildFromZip(File file) Jar[]Builder.builds()Build Multiple jars.private JarTurn 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 JarJar.fromResource(String name, Resource resource) private JarBuilder.getBuildJar()protected JarAnalyzer.getExtra()protected JarBuilder.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 JarMethods 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) Analyzer.jarsFromName(String name, String from) Methods in aQute.bnd.osgi with parameters of type JarModifier and TypeMethodDescriptionbooleanBuilder.addAll(Jar to, Jar sub, Instruction filter) Add all the resources in the given jar that match the given filter.booleanBuilder.addAll(Jar to, Jar sub, Instruction filter, String destination) Add all the resources in the given jar that match the given filter.private booleanBuilder.addAll(Jar to, Jar sub, Instruction filter, String destination, Function<String, String> modifier) booleanbooleanJar.addAll(Jar sub, Instruction filter) Add all the resources in the given jar that match the given filter.booleanJar.addAll(Jar sub, Instruction filter, String destination) Add all the resources in the given jar that match the given filter.voidAnalyzer.addClasspath(Jar jar) private voidBuilder.addSources(Jar dot) private voidAdd a wab lib to the jar.private booleanAnalyzer.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 voidCopyprivate voidprivate voidvoidprivate voidBuilder.copyPackage(Jar dest, List<Jar> providers, String path, int splitStrategy) Copy the package from the providers based on the split package strategy.protected voidBuilder.doBaseline(Jar dot) Base line against a previous version.private voidBuilder.doClassAttribute(Jar jar, String name, Map<String, String> extra, Instructions preprocess, boolean absentIsOk) private voidBuilder.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 withcmdattribute.voidDiff this bundle to another bundle for the given packages.private voidCheck if we need to calculate any checksums.private voidprivate Set<Instruction> Destructively filter the packages from the build up index.private voidBuilder.doIncludeResource(Jar jar, Parameters clauses) private voidBuilder.doIncludeResource(Jar jar, String includes) private voidprivate voidBuilder.doIncludeResources(Jar jar) Parse the Bundle-Includes header.private voidAnalyzer.doNamesection(Jar dot, Manifest manifest) Parse the namesection as instructions and then match them against the current set of resources For example:(package private) voidprivate StringBuilder.doResourceDirectory(Jar jar, Map<String, String> extra, Instructions preprocess, File sourceFile, String destinationPath) private voidBuilder.doSaveManifest(Jar dot) Get the manifest and write it out separately if -savemanifest is setprivate voidprivate JarTurn this normal bundle in a web and add any resources.private voidBuilder.extractFromJar(Jar jar, String source, String destination, boolean absentIsOk, Map<String, String> extra) Extra resources from a Jar and add them to the given jar.private voidAnalyzer.getManifestInfoFromClasspath(Jar jar, Packages classpathExports, Contracts contracts) protected Stringprivate voidAnalyzer.learnPackage(Jar jar, String prefix, Descriptors.PackageRef packageRef, Packages map) private voidBuilder.noSuchFile(Jar jar, String clause, Map<String, String> extra, String source, String destinationPath) voidAnalyzer.setClasspath(Jar[] classpath) Set the JAR directly we are going to work on.voidDomain.setTranslation(Jar jar) (package private) voidSign the jar file.Method parameters in aQute.bnd.osgi with type arguments of type JarModifier and TypeMethodDescriptionprivate voidBuilder.copyPackage(Jar dest, List<Jar> providers, String path, int splitStrategy) Copy the package from the providers based on the split package strategy.private StringBuilder.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 StringJPMSModuleInfoPlugin.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 TypeMethodDescriptionvoidJarPrinter.doCapabilities(Jar jar) private voidJarPrinter.doComponents(Jar jar) Print the components in this JAR.voidvoidvoidJarPrinter.doManifest(Jar jar) voidJarPrinter.doMetatype(Jar jar) Print the metatypes in this JAR.voidvoid -
Uses of Jar in aQute.bnd.service
Methods in aQute.bnd.service with parameters of type JarModifier and TypeMethodDescriptionvoidRepositoryListenerPlugin.bundleAdded(RepositoryPlugin repository, Jar jar, File file) Called when a bundle is added to a repository.voidRepositoryListenerPlugin.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 voidSigner.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)