org.apache.archiva.policies
Interface DownloadPolicy
- All Superinterfaces:
- Policy
- All Known Subinterfaces:
- PostDownloadPolicy, PreDownloadPolicy
- All Known Implementing Classes:
- AbstractUpdatePolicy, CachedFailuresPolicy, ChecksumPolicy, ReleasesPolicy, SnapshotsPolicy
public interface DownloadPolicy
- extends Policy
DownloadPolicy
- Version:
- $Id: DownloadPolicy.java 1171444 2011-09-16 08:34:11Z olamy $
applyPolicy
void applyPolicy(String policySetting,
Properties request,
File localFile)
throws PolicyViolationException,
PolicyConfigurationException
- Apply the download policy.
- Parameters:
policySetting - the policy setting.request - the list of request properties that the policy might use.localFile -
- Throws:
PolicyViolationException - if the policy has been violated.
PolicyConfigurationException
Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.