Class Export.Substitution

java.lang.Object
org.osgi.annotation.bundle.Export.Substitution
Enclosing class:
Export

public static final class Export.Substitution extends Object
Substitution policy for this package.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The policy value is calculated by inspection of the classes in the package.
    static final String
    Use a consumer type version range for the import package clause when substitutably importing a package.
    static final String
    The package must not be substitutably imported.
    static final String
    Use a provider type version range for the import package clause when substitutably importing a package.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CONSUMER

      public static final String CONSUMER
      Use a consumer type version range for the import package clause when substitutably importing a package.
      See Also:
    • PROVIDER

      public static final String PROVIDER
      Use a provider type version range for the import package clause when substitutably importing a package.
      See Also:
    • NOIMPORT

      public static final String NOIMPORT
      The package must not be substitutably imported.
      See Also:
    • CALCULATED

      public static final String CALCULATED
      The policy value is calculated by inspection of the classes in the package.
      See Also:
  • Constructor Details

    • Substitution

      private Substitution()