Class DistributionPackageInfo

  • All Implemented Interfaces:
    java.util.Map<java.lang.String,​java.lang.Object>, ValueMap

    @ProviderType
    public final class DistributionPackageInfo
    extends ValueMapDecorator
    implements ValueMap
    Additional information about a package. Additional information is optional and components should expect every piece of it to be null.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      DistributionPackageInfo​(java.lang.String packageType)
      Creates a new wrapper around an empty map.
      DistributionPackageInfo​(java.lang.String packageType, java.util.Map<java.lang.String,​java.lang.Object> base)
      Creates a new wrapper around a given map.
    • Field Detail

      • PROPERTY_PACKAGE_TYPE

        public static final java.lang.String PROPERTY_PACKAGE_TYPE
        distribution package type
        See Also:
        Constant Field Values
      • PROPERTY_REQUEST_PATHS

        public static final java.lang.String PROPERTY_REQUEST_PATHS
        distribution request paths
        See Also:
        Constant Field Values
      • PROPERTY_REQUEST_DEEP_PATHS

        public static final java.lang.String PROPERTY_REQUEST_DEEP_PATHS
        distribution request deep paths
        See Also:
        Constant Field Values
      • PROPERTY_REQUEST_TYPE

        public static final java.lang.String PROPERTY_REQUEST_TYPE
        distribution request type
        See Also:
        Constant Field Values
    • Constructor Detail

      • DistributionPackageInfo

        public DistributionPackageInfo​(java.lang.String packageType,
                                       java.util.Map<java.lang.String,​java.lang.Object> base)
        Creates a new wrapper around a given map.
        Parameters:
        base - wrapped object
        packageType - type of package
      • DistributionPackageInfo

        public DistributionPackageInfo​(java.lang.String packageType)
        Creates a new wrapper around an empty map.
        Parameters:
        packageType - type of package
    • Method Detail

      • getType

        @NotNull
        public @NotNull java.lang.String getType()
      • getPaths

        @Nullable
        public @Nullable java.lang.String[] getPaths()
        get the paths covered by the package holding this info
        Returns:
        an array of paths
      • getRequestType

        @Nullable
        public @Nullable DistributionRequestType getRequestType()
        get the request type associated to the package holding this info
        Returns:
        the request type