Package aQute.bnd.build
Class ProjectBuilder.ArtifactInfoImpl
- java.lang.Object
-
- aQute.libg.reporter.ReporterAdapter
-
- aQute.bnd.build.ProjectBuilder.ArtifactInfoImpl
-
- All Implemented Interfaces:
ArtifactInfo
,Report
,Reporter
,java.lang.Runnable
- Enclosing class:
- ProjectBuilder
static class ProjectBuilder.ArtifactInfoImpl extends ReporterAdapter implements ArtifactInfo
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface aQute.service.reporter.Report
Report.Location
-
Nested classes/interfaces inherited from interface aQute.service.reporter.Reporter
Reporter.SetLocation
-
-
Field Summary
Fields Modifier and Type Field Description (package private) BundleId
bundleId
(package private) Packages
contained
(package private) java.util.List<Report.Location>
errors
(package private) Packages
exports
(package private) java.io.File
file
(package private) Packages
imports
(package private) java.util.function.Supplier<org.osgi.resource.Resource>
indexer
(package private) java.util.jar.Manifest
manifest
-
Constructor Summary
Constructors Constructor Description ArtifactInfoImpl(Builder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BundleId
getBundleId()
The bundle ID of the build bundlePackages
getContained()
Contained packagesPackages
getExports()
Exported packagesPackages
getImports()
Imported packagesjava.lang.String
toString()
-
Methods inherited from class aQute.libg.reporter.ReporterAdapter
addErrors, addWarnings, check, error, exception, getErrors, getInfo, getInfo, getLocation, getMessages, getOut, getWarnings, isExceptions, isOk, isPedantic, isPerfect, isTrace, progress, report, run, setExceptions, setPedantic, setTrace, trace, warning
-
-
-
-
Field Detail
-
manifest
final java.util.jar.Manifest manifest
-
exports
final Packages exports
-
imports
final Packages imports
-
contained
final Packages contained
-
bundleId
final BundleId bundleId
-
file
java.io.File file
-
errors
java.util.List<Report.Location> errors
-
indexer
java.util.function.Supplier<org.osgi.resource.Resource> indexer
-
-
Constructor Detail
-
ArtifactInfoImpl
public ArtifactInfoImpl(Builder builder) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-
Method Detail
-
getBundleId
public BundleId getBundleId()
Description copied from interface:ArtifactInfo
The bundle ID of the build bundle- Specified by:
getBundleId
in interfaceArtifactInfo
- Returns:
- the bundle id
-
getExports
public Packages getExports()
Description copied from interface:ArtifactInfo
Exported packages- Specified by:
getExports
in interfaceArtifactInfo
- Returns:
- exported packages.
-
getImports
public Packages getImports()
Description copied from interface:ArtifactInfo
Imported packages- Specified by:
getImports
in interfaceArtifactInfo
-
getContained
public Packages getContained()
Description copied from interface:ArtifactInfo
Contained packages- Specified by:
getContained
in interfaceArtifactInfo
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-