Package aQute.bnd.service.repository
Class SearchableRepository.ResourceDescriptor
java.lang.Object
aQute.bnd.service.repository.SearchableRepository.ResourceDescriptor
- Direct Known Subclasses:
RDImpl
,ResourceDescriptorImpl
- Enclosing interface:
- SearchableRepository
Describes a resource that is a member of the underlying remote
repository.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe name of the resource, usually the Bundle Symbolic Nameboolean
True if this resource was added as a dependencyA description of the resource.byte[]
SHA-1 for the resource.boolean
True if already included in the local repository.An ID of the resource owner.The phase of the resourcebyte[]
Also need the sha 256 because of the OSGi Repository stuffLocation of the resourceThe version of the resource. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
id
public byte[] idSHA-1 for the resource. -
sha256
public byte[] sha256Also need the sha 256 because of the OSGi Repository stuff -
description
A description of the resource. -
bsn
The name of the resource, usually the Bundle Symbolic Name -
version
The version of the resource. -
phase
The phase of the resource -
included
public boolean includedTrue if already included in the local repository. -
dependency
public boolean dependencyTrue if this resource was added as a dependency -
url
Location of the resource -
owner
An ID of the resource owner.
-
-
Constructor Details
-
ResourceDescriptor
public ResourceDescriptor()
-