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.main 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.JarProjectLauncher. executable()Create a self executable.JarProjectBuilder. getBaselineJar()This method attempts to find the baseline jar for the current project.JarProjectBuilder. getLastRevision()JarProject. getValidJar(Jar jar, java.lang.String id)JarProject. getValidJar(java.io.File f)This methods attempts to turn any jar into a valid jar.JarProject. getValidJar(java.net.URL url)JarProject. 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 voidProjectBuilder. doBaseline(Jar dot)Compare this builder's JAR with a baselineJarProject. getValidJar(Jar jar, java.lang.String id)private voidProject. reportNewer(long lastModified, Jar jar)java.io.FileProject. saveBuild(Jar jar)private java.io.FileProject. 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 voidParseSignatureBuilder. 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 ParametersBaseline. getExports(Jar jar)TreeDiffPluginImpl. 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 JarExecutableJarExporter. defaultExporter(Project project, java.util.Map<java.lang.String,java.lang.String> options)static JarExecutableJarExporter. 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.StringRunbundlesExporter. 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 JarJUnitFramework. bin_testDeprecated. -
Uses of Jar in aQute.bnd.main
Methods in aQute.bnd.main that return Jar Modifier and Type Method Description (package private) Jarbnd. getJar(java.lang.String s)Central routine to get a JAR with error checkingMethods in aQute.bnd.main with parameters of type Jar Modifier and Type Method Description private voidbnd. add(Jar jar, java.io.File base, java.lang.String path, boolean report)Helper for the jar create function, adds files to the jarprivate voidbnd. addAll(Jar output, Jar sub, java.lang.String prefix, java.util.List<java.lang.String> bundleClassPath)private 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(java.lang.String name, Jar jar) -
Uses of Jar in aQute.bnd.maven
Methods in aQute.bnd.maven that return Jar Modifier and Type Method Description protected JarMavenCommand. getJarFromFileOrURL(java.lang.String spec)private JarMavenCommand. javadoc(java.io.File source, java.util.Set<java.lang.String> exports, java.util.jar.Manifest m, java.util.Properties p)private JarMavenDeploy. javadoc(java.io.File tmp, Project b, java.util.Set<java.lang.String> exports)private JarMavenDeployCmd. 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 voidMavenCommand. copyInfo(Jar source, Jar dest, java.lang.String type)private voidMavenCommand. copyInfoResource(Jar source, Jar dest, java.lang.String type)booleanMavenDeployCmd. deploy(Project project, Jar original)private voidMavenDeploy. split(Jar original, Jar main, Jar src)private voidMavenDeployCmd. 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 ReporterOBRFragment. 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 JarAnalyzer. dotprivate JarVerifier. dotprivate JarJarResource. jar(package private) JarActivelyClosingClassLoader.Wrapper. jarFileFields in aQute.bnd.osgi with type parameters of type Jar Modifier and Type Field Description private java.util.List<Jar>Analyzer. classpathMethods in aQute.bnd.osgi that return Jar Modifier and Type Method Description JarBuilder. build()private JarJar. buildFromDirectory(java.nio.file.Path baseDir, java.util.regex.Pattern doNotCopy)private JarJar. buildFromInputStream(java.io.InputStream in)private JarJar. buildFromResource(Resource resource)private JarJar. buildFromZip(java.io.File file)Jar[]Builder. builds()Build Multiple jars.private JarBuilder. doWab(Jar dot)Turn this normal bundle in a web and add any resources.JarAnalyzer. findClasspathEntry(java.lang.String bsn, java.lang.String r)Find a class path entry based on bsn and versionrangestatic JarJar. fromResource(java.lang.String name, Resource resource)private JarBuilder. getBuildJar()protected JarAnalyzer. getExtra()protected JarBuilder. getExtra()Answer extra packages.JarAnalyzer. getJar()JarJarResource. getJar()JarAnalyzer. 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.JarProcessor. 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.JarAnalyzer. getTarget()JarJar. setCalculateFileDigest(boolean onOrOff)Make this jar calculate the SHA256 when it is saved as a file.JarAnalyzer. setJar(Jar jar)Set the JAR directly we are going to work on.JarAnalyzer. setJar(java.io.File file)Set the JAR file we are going to work in.private JarAnalyzer. 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 booleanBuilder. 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, java.lang.String destination)Add all the resources in the given jar that match the given filter.booleanJar. addAll(Jar src)booleanJar. addAll(Jar sub, Instruction filter)Add all the resources in the given jar that match the given filter.booleanJar. addAll(Jar sub, Instruction filter, java.lang.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 voidBuilder. 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 booleanAnalyzer. 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.StringAnalyzer. calculateExportsFromContents(Jar bundle)Calculate an export header solely based on the contents of a JAR fileprivate voidBuilder. copy(Jar dest, Jar srce, java.lang.String path, boolean overwrite)Copyprivate voidBuilder. copy(Jar jar, java.lang.String path, Resource resource, java.util.Map<java.lang.String,java.lang.String> extra)private voidBuilder. copy(Jar jar, java.lang.String path, java.io.File from, Instructions preprocess, java.util.Map<java.lang.String,java.lang.String> extra)voidJar. copy(Jar srce, java.lang.String path, boolean overwrite)private voidBuilder. 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 voidBuilder. doBaseline(Jar dot)Base line against a previous version.private voidBuilder. doClassAttribute(Jar jar, java.lang.String name, java.util.Map<java.lang.String,java.lang.String> extra, Instructions preprocess, boolean absentIsOk)private voidBuilder. 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 withcmdattribute.voidBuilder. doDiff(Jar dot)Diff this bundle to another bundle for the given packages.private voidBuilder. doDigests(Jar dot)Check if we need to calculate any checksums.private voidBuilder. 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 voidBuilder. doIncludeResource(Jar jar, Parameters clauses)private voidBuilder. doIncludeResource(Jar jar, java.lang.String includes)private voidBuilder. doIncludeResource(Jar jar, java.lang.String name, java.util.Map<java.lang.String,java.lang.String> extra)private voidBuilder. doIncludeResources(Jar jar)Parse the Bundle-Includes header.private voidAnalyzer. 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) voidBuilder. doPom(Jar dot)private java.lang.StringBuilder. doResourceDirectory(Jar jar, java.util.Map<java.lang.String,java.lang.String> extra, Instructions preprocess, java.io.File sourceFile, java.lang.String destinationPath)private voidBuilder. doSaveManifest(Jar dot)Get the manifest and write it out separately if -savemanifest is setprivate voidBuilder. doVerify(Jar dot)private JarBuilder. doWab(Jar dot)Turn this normal bundle in a web and add any resources.private voidBuilder. 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 voidAnalyzer. getManifestInfoFromClasspath(Jar jar, Packages classpathExports, Contracts contracts)protected java.lang.StringAnalyzer. getName(Jar jar)private voidAnalyzer. learnPackage(Jar jar, java.lang.String prefix, Descriptors.PackageRef packageRef, Packages map)private voidBuilder. 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)voidAnalyzer. setClasspath(Jar[] classpath)JarAnalyzer. setJar(Jar jar)Set the JAR directly we are going to work on.voidDomain. setTranslation(Jar jar)(package private) voidBuilder. 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 voidBuilder. 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.StringBuilder. 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.StringJPMSModuleInfoPlugin. 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 voidJarPrinter. doCapabilities(Jar jar)private voidJarPrinter. doComponents(Jar jar)Print the components in this JAR.voidJarPrinter. doImpExp(Jar jar)voidJarPrinter. doList(Jar jar)voidJarPrinter. doManifest(Jar jar)voidJarPrinter. doMetatype(Jar jar)Print the metatypes in this JAR.JarPrinterJarPrinter. doPrint(Jar jar, int options, boolean java, boolean xport)voidJarPrinter. doVerify(Jar jar)voidJarPrinter. 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 voidRepositoryListenerPlugin. bundleAdded(RepositoryPlugin repository, Jar jar, java.io.File file)Called when a bundle is added to a repository.voidRepositoryListenerPlugin. 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 TreeDiffer. 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 voidSigner. doManifest(Jar jar, java.lang.String[] digestNames, java.security.MessageDigest[] algorithms, java.io.OutputStream out)voidSigner. 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.ResourceDescriptorFileRepo. buildDescriptor(java.io.File f, Jar jar, byte[] digest, java.lang.String bsn, Version version)
-