Class SimpleResolutionErrorPolicy

    • Constructor Detail

      • SimpleResolutionErrorPolicy

        public SimpleResolutionErrorPolicy​(boolean cacheNotFound,
                                           boolean cacheTransferErrors)
        Creates a new error policy with the specified behavior for both artifacts and metadata.
        Parameters:
        cacheNotFound - true to enable caching of missing items, false to disable it.
        cacheTransferErrors - true to enable chaching of transfer errors, false to disable it.
      • SimpleResolutionErrorPolicy

        public SimpleResolutionErrorPolicy​(int policy)
        Creates a new error policy with the specified bit mask for both artifacts and metadata.
        Parameters:
        policy - The bit mask describing the policy for artifacts and metadata.
      • SimpleResolutionErrorPolicy

        public SimpleResolutionErrorPolicy​(int artifactPolicy,
                                           int metadataPolicy)
        Creates a new error policy with the specified bit masks for artifacts and metadata.
        Parameters:
        artifactPolicy - The bit mask describing the policy for artifacts.
        metadataPolicy - The bit mask describing the policy for metadata.