All Classes and Interfaces
Class
Description
This package contains a number of classes that assists by analyzing JARs and
constructing bundles.
Main options
Access modifier
An interface to allow bnd to provide commands on elements.
Deprecated.
Identify the annotated member as part of the activation of a Service
Component.
This class loader can load classes from JAR files.
This class can calculate the required headers for a (potential) JAR file.
Bnd ElememtType
This class parses the 'header annotations'.
This plugin creates a build.xml file in the project when a project gets
created.
An annotation to indicate that the type depends on the Apache License 2.0.
@API
is used to annotate public types, methods, constructors, and
fields within a framework or application in order to publish their
API.status()
and level of stability and to indicate how they are intended
to be used by API.consumers()
of the API.Indicates the status of an API element and therefore its level of
stability as well.
A snapshot of the build information of an artifact.
Deprecated.
Provides an aspectj plugin that can export an executable JAR while weaving in
aspect bundles.
Minute library to do some aspect oriented programming without dragging in the
world.
A builder to create a proxy that delegates to another object but can
intercept calls, put something before, after and around calls.
Mark an annotation element as an attribute.
Defines a number of attribute classes.
AttributeDefinition
information for the annotated method.Attribute types for the
AttributeDefinition
annotation.The invocation handler that is based on Attrs.
This class maintains
Implements commands to maintain the Package versions db.
Print out the packages from spec jars and check in which ees they appear.
Baseline ignore annotation.
Exports project dependencies to OSGi R5 index format.
WARNING ! Not tested
Provide Http Basic Authentication.
Provide Http Bearer Authentication.
BiConsumer interface that allows exceptions.
Deprecated.
BiFunction interface that allows exceptions.
Deprecated.
BiPredicate interface that allows exceptions.
Deprecated.
Utility to make bundles.
List actions of the repositories if they implement Actionable and allow
them to be executed
Add a project, workspace, or plugin
start a local framework
From a set of bsns, create a list of urls
Install the build tool
Show the changes in the releases
Convert files
Options for the jar create command.
List all deliverables for this workspace.
Show the dependencies of all projects
Export a bndrun file
Extract a file from the JAR
Find a package in the current project or a set of jars
Flatten a jar
Grep in jars
Show some key info of the project
Merge n JARs into a new JAR
Patch
Print out a JAR
Profiles subcmd
Project command, executes actions.
Create a list of file names that match manifest headers bnd select -h
Bundle-SymbolicName --where (...) *
Handle the global settings
List the contents of the JAR
bnd has a builtin delegated authentication mechanism, see
Settings
.A model for a Bnd file.
This lifecycle participant is meant to simplify the changes required to the
configuration of the maven packaging plugins when the
bnd-maven-plugin
is used.
This file is the bnd main task for ant.
Bridge an OSGi repository (requirements) and a bnd repository (bsn/version)
by creating an index and providing suitable methods.
An annotation to indicate that the type depends on the Simplified BSD or
FreeBSD License.
An annotation to indicate that the type depends on the Revised BSD License.
Include-Resource: ( [name '=' ] file )+ Private-Package: package-decl ( ','
package-decl )* Export-Package: package-decl ( ',' package-decl )*
Import-Package: package-decl ( ',' package-decl )* @version $Revision: 1.27 $
Instructions for the Builder
A map that is to set inline like a builder.
A specification of the Builder parameters without any special types.
A snapshot of the build information
The Bundle-Category header holds a comma-separated list of category names.
Maven defines contributors and developers in the POM.
The Bundle-Copyright header contains the copyright specification for this
bundle.
Maven defines developers in the POM.
The Bundle-DocURL headers must contain a URL pointing to documentation about
this bundle.
Holds the bundle bsn + version pair
The
Bundle-License
header provides an optional machine readable form
of license information.Will now use hex for encoding byte arrays
CAFS implements a SHA-1 based file store.
Create an XML call tree of a set of classes.
Container annotation for repeated
Capability
annotations.Define a capability for a bundle.
For use in the creation of custom bundle annotations wishing to control the
cardinality of generated requirements.
Standard categories as specified on
OSGi
References Page
An annotation to indicate that the type depends on the Common Development and
Distribution license.
Analyze the class space for any classes that have an OSGi annotation for CCR.
Sets a warning when a header is missing to publish at Central.
When adding methods to this class, you must also add them to
ClassDataCollectors
!This class dispatches class data collectors.
Abstraction of the clip board since this can vary per driver
Closeable memoizing supplier.
The object can exist in one of three states:
initial which means neither
get
or close
has been called.Collection types for the
Reference
annotation.Helps parsing command lines.
A plugin that makes it possible to
Generic implementation of version comparison.
Represents a numeric item in the version item list.
Represents a numeric item in the version item list that can be
represented with an int.
Represents a version list item.
Represents a numeric item in the version item list that can be
represented with a long.
Represents a string in the version item list, usually a qualifier.
Deprecated.
Identify the annotated class as a Service Component.
Defines standard names for Service Component constants.
This class just holds the information for the component, implementation, and
service/provide elements.
Identify the annotated annotation as a Component Property Type.
Helper class to handle concurrent system where you need to initialize a
value.
Deprecated.
Configuration Policy for the
Component
annotation.Generic connection setter can set a number of basic properties if applicable
and can add generic headers.
Options to set.
Deprecated.
Adding this annotation to a type in an API package indicates that the owner
of that package will not change this interface in a minor update.
Consumer interface that allows exceptions.
Deprecated.
OSGi Contracts are first defined in OSGi Enterprise Release 5.0.0.
General Java type converter from an object to any type.
Copy-on-write
ITextStore
wrapper.An unmodifiable String based text store.
This class can create a coverage table between two classspaces.
Creates an XML Coverage report.
An annotation to indicate that the type depends on the Common Public License
1.0.
Deprecated.
Identify the annotated method as the
deactivate
method of a Service
Component.Formatter for booleans with a default value; if the input value matches the
default then it is formatted to
null
.Base class for the URL Connection handlers.
The Delta provides information about the
Diff
object.Deploy this artifact to maven.
Generate a
Designate
element in the Meta Type Resource for an
ObjectClassDefinition
using the annotated Declarative Services
component.A simple dialog handler for prompting for an input string from the user,
displaying a message to the user, or showing a set of errors and warnings.
Compare two Jars and report the differences.
A DiffImpl class compares a newer Element to an older Element.
This Diff Plugin Implementation will compare JARs for their API (based on the
Bundle Class Path and exported packages), the Manifest, and the resources.
Mark an annotation element as a directive.
This class abstracts domains that have properties holding OSGi meta data.
Parse an XML file based on a DTO as schema
Simple utility to create a graph in the dot language
This class is intended to be used by the users of a
RepositoryPlugin
.Uses promises to signal the Download Listener from
RepositoryPlugin
Processes spec DS annotations into xml.
Analyze the class space for any classes that have an OSGi annotation for DS.
Super type for Data Transfer Objects.
Parse the Eclipse project information for the classpath.
This plugin creates a build.xml file in the project when a project gets
created.
An element can be compared to another element of the same type.
Simple facade for enumerators so they can be used in for loops.
Formats an enum type.
An annotation to indicate that the type depends on the Eclipse Public License
1.0.
An annotation to indicate that the type depends on the Eclipse Public License
2.0.
This class represents the Err side of @{link Result}.
Deprecated.
Exports a project or run file to an executable JAR.
Mark a package to be exported from its bundle.
Annotation used on a package, in conjunction with the
Export
annotation, to express the JPMS modules to which this package is exported.External Plugins are executable code that the Workspace can execute.
Field options for the
Reference
annotation.Deprecated.
A FileRepo is the primary and example implementation of a repository based on
a file system.
Resource for a file.
Implements a FileSet a la Ant/Gradle.
RFC 1960-based Filter.
This Map is used for case-insensitive key lookup during filter
evaluation.
This Map is used for key lookup during filter evaluation.
Parser class for OSGi filter strings.
This Map is used for key lookup from a ServiceReference during filter
evaluation.
A Forker is good in parallel scheduling tasks with dependencies.
Function interface that allows exceptions.
Deprecated.
Implements a gap managing text store.
Adds .gitignore files to projects when created.
Deprecated.
Replaced by
GPL_2_0_only
or GPL_2_0_or_later
.An annotation to indicate that the type depends on the GNU General Public
License v2.0 only.
An annotation to indicate that the type depends on the GNU General Public
License v2.0 or later.
Deprecated.
Replaced by
GPL_3_0_only
or GPL_3_0_or_later
.An annotation to indicate that the type depends on the GNU General Public
License v3.0 only.
An annotation to indicate that the type depends on the GNU General Public
License v3.0 or later.
SLF4J Markers for special Gradle log levels.
The Gradle life cycle plugin.
Define a manifest header for a bundle.
Container annotation for repeated
Header
annotations.A general hierarchy of named nodes.
A simple Http Client that inter-works with the bnd registry.
Builds up a request
TODO Needs testing Can be used to override default verification of HTTPS.
Icon
information for an ObjectClassDefinition
.
0 -> 0, 122 -> 1 123 -> 123, 244 -> 2 245 -> 245, ...
Can return a
SearchableRepository.ResourceDescriptor
for a given bsn/version.This class is a simple injector with a parameterized annotation.
The Target class describes the target injection point.
This is a very simple fast counter without any synchronization.
This type represents a detected Internal Plugin as defined by the
BndPlugin
annotation (and InternalPluginNamespace
capability.)External Plugins are executable code that the Workspace can execute.
Interface for storing and managing text.
Creates a Hierarchy on a ZipFile, a directory, or a ZipStream.
Sign the jar file.
An element that compares the access field in a binary compatible way.
This component is called when we find a resource in the META-INF/*.xml
pattern.
A plugin to generate a module-info class from analyzer metadata and bundle
annotations.
This is a simple JSON Coder and Encoder that uses the Java type system to
convert data objects to JSON and JSON to (type safe) Java objects.
Deprecated.
Formatter.
The kind of thing we scope
Instructions for the launcher
Deprecated.
Replaced by
LGPL_2_1_only
or LGPL_2_1_or_later
.An annotation to indicate that the type depends on the GNU Lesser Public
License v2.1 only.
An annotation to indicate that the type depends on the GNU Lesser Public
License v2.1 or later.
Implements the `-library` instruction.
A workspace extension can be applied on the workspace level
The base class for a plugin that wants to intercept workspace life cycle
events.
Describes a line as a particular number of characters beginning at a
particular offset, consisting of a particular number of characters, and being
closed with a particular line delimiter.
This is a simple RPC module that has a R(remote) and L(ocal) interface.
Provide a macro processor.
Annotation used on a type to indicate that it is the
Main-Class
of
the application resulting in the manifest header.Represents the Manifest Main-Class header.
Implements a mini make builder that is run just before we build the bundle.
Bnd Resource for Manifest with correct support for writing the manifest to an
output stream.
Unfortunately we have to write our own manifest :-( because of a stupid bug
in the manifest code.
Easy way to build a map: Map<String,Integer> s = MAP.$("a",2).$("b",3);
An entry (a group/artifact) in the maven cache in the .m2/repository
directory.
This plugin provides life cycle support for maven projects
Deprecated.
Memoizing supplier.
The object can exist in one of two states:
initial which means the source supplier has not been called or has not
returned a value acceptable to the predicate and memoized holds the wrapped
supplier.
Merge together requirements having the same filter: and effective:
directives, but possibly differing in optionality/cardinality.
The Metadata interface provides access to the properties that underly a
Configurable interface.
The AD element in the Metatype specification.
The OCD Annotation maps to the OCD element in the Metatype specification.
Analyze the class space for any classes that have an OSGi annotation for DS.
The MetaType Service can be used to obtain meta type information for a
bundle.
An annotation to indicate that the type depends on the MIT License.
Deprecated.
Replaced by
MIT
.Deprecated.
Identify the annotated method as the
modified
method of a Service
Component.An annotation to indicate that the type depends on the Mozilla Public License
2.0.
Will iterate over the current plugins to find a matching URLConnectionHandler
and in the end use the default connector if no alternative is found.
A named node in a hierarchy.
Turns newlines to textual escaped newlines and orphaned backslashes to double
backslashes.
Generate a Meta Type Resource using the annotated type.
This class represents the Ok side of @{link Result}.
The Workspace can notify interested parties when certain events happen.
Annotation used on a package to declare it is open in terms of JPMS
reflective access.
Option
information for an AttributeDefinition
.OS specific information, used by the native_capability macro for
osgi.native.* bundle properties.
A reusable path set using Ant-style include and exclude globs.
Implements a low performance but easy to use map that is backed on a
directory.
This class provides an efficient way to store a resource through JSON
serialization.
An optional interface for plugins.
Combines plugin management commands
The plugin set for a Processor.
A Plugin Provider provides plugins when accessed with a type selector.
Provides a way to parse a maven pom as properties.
Predicate interface that allows exceptions.
Deprecated.
Handles a proxy on a Processor's properties.
Progress monitor.
A plugin for reporting progress on long-running jobs.
Represents an ongoing task.
This class is NOT threadsafe
ProjectBuildOrderTask calculates the correct build order for all of the bnd
projects in a workspace.
A Project Launcher is a base class to be extended by launchers.
This class is responsible for maintaining the project list.
Deprecated.
Deprecated.
see
org.osgi.annotation.bundle.Capability
A change in a provider type (that is all except Consumer types) can be
changed with only (at minimum) a minor update to the package API version
number.
This is a type that will be proxied.
Utility to redirect the stdin/stdout/stderr when running a command
Deprecated.
Identify the annotated member or parameter as a reference of a Service
Component.
Cardinality for the
Reference
annotation.Mark types as referenced.
Holds the information in the reference element.
The object can exist in one of two states:
cleared which means memoized holds a cleared reference.
Policy for the
Reference
annotation.Policy option for the
Reference
annotation.Reference scope for the
Reference
annotation.The object can exist in one of two states:
expired which means that System.nanoTime is greater than timebound.
A registry for objects.
Signals the end of the registry initialization
A plugin that wants a registry
This plugin brackets a workspace release so that plugins know when a
workspace release starts and ends.
ANT task to release into a repository, equivalent to:
<bnd
command="release"/>
Controls a different file system trough a Sink.
A remote RPC interface to a workspace.
This is a placeholder for a two-way link between the Remote Workspace and its
client.
A class that can setup a 2-way link to a
RemoteWorkspace
on the same
machine.Implements an RPC interface to a workspace.
Provide a macro Domain.
Copy
List the content of the repos
put
List the repos
A base interface to represent the state of a work in progress.
Defines a record for the location of an error/warning
This plugin extracts a piece of information (potentially localized) from a
source object and converts it into a DTO representation.
A base interface to model a work in progress.
Fluid interface to set location data
Mainly used for testing where reporters are needed.
This plugin can export a report generated by the
ReportGeneratorService
service.This plugin can generate a DTO report of an arbitrary object.
This plugin serialize the extracted DTO report into a specific format.
This plugin transform an input model by applying a template on it.
A Repository Plugin abstract a bnd repository.
The caller can specify any number of DownloadListener objects that are
called back when a download is finished (potentially before the get
method has returned).
Options used to steer the put operation
Results returned by the put operation
Deprecated.
see
org.osgi.annotation.bundle.Requirement
Define a requirement for a bundle.
Container annotation for repeated
Requirement
annotations.This annotation can be used to require the Meta Type extender to process
metatype resources.
This annotation can be used to require the Meta Type implementation.
This annotation can be used to require the Service Component Runtime to
process Declarative Services components.
Deprecated.
see
org.osgi.annotation.bundle.Requirement.Resolution
For use in the creation of custom bundle annotations wishing to control the
resolution of generated requirements.
Instructions on the Resolution.
Specifies the values of the -runorder instruction
We order the wiring namespaces ahead of the other namespaces.
A Resource Repository represents a repository local to the workspace.
This class implements a hidden repository.
Class maintains the info stored in the text file in the cnf directory
that holds our contents.
The Result type is an alternative way of chaining together functions in a
functional programming style while hiding away error handling structures such
as try-catch-blocks and conditionals.
Instead of adding a throws declaration to a function, the return type of the function is instead set to Result where V is the original return type,
i.e.
Instead of adding a throws declaration to a function, the return type of the function is instead set to Result
Runnable interface that allows exceptions.
Deprecated.
A specification for the run information to start a framework
A Searchable Repository is backed by a search engine that holds more
revisions than that are currently available locally.
Describes a resource that is a member of the underlying remote
repository.
Will execute a set of tasks in order of submit.
Adds a ProvideCapability for a service.
This class is an analyzer plugin.
Annotation used to generate requirements necessary for supporting the
consumer side of the Service Loader Mediator specification.
Annotation used to generate requirements and capabilities necessary for
supporting the provider side of the Service Loader Mediator
specification.
Service scope for the
Component
annotation.Maintains persistent settings for bnd (or other apps).
Provide a standardized cache based on the SHA-1 of a file.
An object that can retrieve an inputstream on a given SHA-1
This class can convert a Class, Field, Method or constructor to a generic
signature and it can normalize a signature.
See JVMS
4.7.9.1.
Helper class to track an index in a string.
This class is used with the aQute.bnd.osgi package, it signs jars with DSA
signature.
Simple program to generate an index from a set of bundles.
A functional interface providing an entry point for performing additional
analysis of indexed files.
A Sink maintains a different file system somewhere.
An immutable list that sorts objects by their natural order or through a
comparator.
Special handling of the instruction types like Parameters, Attrs, and the
type safe interfaces related to this.
Uses an interface to provide a _specification_ of a command line.
Plugin that executes during the verify phase in order to generate SPI
descriptor files (a.k.a.
This component is called when we find a resource in the META-INF/*.xml
pattern.
This component is called when we find a resource in the META-INF/*.xml
pattern.
Convert a number to a string using SI magnitude prefixes like Mega, Giga,
etc.
Supplier interface that allows exceptions.
Deprecated.
The purpose of this class is to annotate methods in interfaces.
The Tag class represents a minimal XML tree.
Represents a data stream that has a tag associated with it; the primary
use-case is an HTTP response stream with an ETag header.
A central task manager.
Install gradle from a repository in this workspace.
Trigger an action and repeat it as long as it keeps being triggered.
Reference to a type.
This interface is used to sign urls, set options, etc.
Use JarURLConnection to parse jar: URL into URL to jar URL and entry.
Properties were by default read as ISO-8859-1 characters.
Deprecated.
Strategy to use when creating a workspace ResourceRepository.
Class loader that can be used to create a proxy in cases where the
interface classes are not visible from the class loader of the first
interface class.
ReentrantReadWriteLock lock for serializing access to the Workspace.
Implements the event bus for the workspace, projects and repositories.
This marker must be implemented by repositories that model the workspace.
Task to wrap a JAR as an OSGi bundle.
Define an xml attribute extension annotation.
Used to find the comparator key attribute in the
filter
directiveUsed to prepare a map containing relevant informations from a
filter
directiveCan turn an OSGi repository into an
http://www.osgi.org/xmlns/repository/v1.0.0
XML file.This class provides utilities to work with zip files.
Apache_2_0
.