Class DistributionPackageInfo

    • Constructor Detail

      • DistributionPackageInfo

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

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

      • getType

        @NotNull
        public @NotNull String getType()
      • getPaths

        @Nullable
        public @Nullable 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