Class 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 Name
      boolean dependency
      True if this resource was added as a dependency
      java.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 resource
      byte[] sha256
      Also need the sha 256 because of the OSGi Repository stuff
      java.net.URI url
      Location of the resource
      Version version
      The version of the resource.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.
    • Constructor Detail

      • ResourceDescriptor

        public ResourceDescriptor()