Class RequireBundleDTO


  • public class RequireBundleDTO
    extends org.osgi.dto.DTO
    A representation of a require bundle clause.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.util.Map<java.lang.String,​java.lang.String> arbitraryAttributes
      A map of arbitrary attributes.
      java.lang.String bundleSymbolicName
      The bundle symbolic name of the required bundle.
      VersionRangeDTO bundleVersion
      The version range to select the required bundle.
      java.lang.String resolution
      Indicates if the resolution is optional or mandatory.
      java.lang.String visibility
      Indicates if the bundle will transitively have access to these required bundle's exported packages.
    • Method Summary

      • Methods inherited from class org.osgi.dto.DTO

        toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • bundleSymbolicName

        public java.lang.String bundleSymbolicName
        The bundle symbolic name of the required bundle.

        Must not be null.

      • visibility

        public java.lang.String visibility
        Indicates if the bundle will transitively have access to these required bundle's exported packages.

        If it is not specified this field must be set to "private".

      • resolution

        public java.lang.String resolution
        Indicates if the resolution is optional or mandatory.

        If it is not specified this field must be set to "mandatory".

      • bundleVersion

        public VersionRangeDTO bundleVersion
        The version range to select the required bundle.

        If it is not specified this field must be set to the default value.

      • arbitraryAttributes

        public java.util.Map<java.lang.String,​java.lang.String> arbitraryAttributes
        A map of arbitrary attributes.

        If it is not specified this field must be empty.

    • Constructor Detail

      • RequireBundleDTO

        public RequireBundleDTO()