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
public static class SearchableRepository.ResourceDescriptor extends java.lang.Object
Describes a resource that is a member of the underlying remote repository.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
bsn
The name of the resource, usually the Bundle Symbolic Nameboolean
dependency
True if this resource was added as a dependencyjava.lang.String
description
A description of the resource.byte[]
id
SHA-1 for the resource.boolean
included
True if already included in the local repository.java.lang.String
owner
An ID of the resource owner.Phase
phase
The phase of the resourcebyte[]
sha256
Also need the sha 256 because of the OSGi Repository stuffjava.net.URI
url
Location of the resourceVersion
version
The version of the resource.
-
Constructor Summary
Constructors Constructor Description ResourceDescriptor()
-
-
-
Field Detail
-
id
public byte[] id
SHA-1 for the resource.
-
sha256
public byte[] sha256
Also need the sha 256 because of the OSGi Repository stuff
-
description
public java.lang.String description
A description of the resource.
-
bsn
public java.lang.String bsn
The name of the resource, usually the Bundle Symbolic Name
-
version
public Version version
The version of the resource.
-
phase
public Phase phase
The phase of the resource
-
included
public boolean included
True if already included in the local repository.
-
dependency
public boolean dependency
True if this resource was added as a dependency
-
url
public java.net.URI url
Location of the resource
-
owner
public java.lang.String owner
An ID of the resource owner.
-
-