Class ExportPackageDTO


  • public class ExportPackageDTO
    extends org.osgi.dto.DTO
    A representation of an export package 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.util.List<java.lang.String> excludes
      A list of class names that must be invisible to an importer.
      java.util.List<java.lang.String> includes
      A list of class names that must be visible to an importer.
      java.util.List<java.lang.String> mandatories
      A list of mandatory attributes.
      java.lang.String packageName
      The package name.
      java.util.List<java.lang.String> uses
      A list of package names that are used by the exported package.
      VersionDTO version
      The version of the exported package.
    • 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

      • packageName

        public java.lang.String packageName
        The package name.

        This field must not be null.

      • uses

        public java.util.List<java.lang.String> uses
        A list of package names that are used by the exported package.

        If it is not specified this field must be empty.

      • mandatories

        public java.util.List<java.lang.String> mandatories
        A list of mandatory attributes.

        If it is not specified this field must be empty.

      • includes

        public java.util.List<java.lang.String> includes
        A list of class names that must be visible to an importer.

        If it is not specified this field must be empty.

      • excludes

        public java.util.List<java.lang.String> excludes
        A list of class names that must be invisible to an importer.

        If it is not specified this field must be empty.

      • version

        public VersionDTO version
        The version of the exported package.

        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

      • ExportPackageDTO

        public ExportPackageDTO()