This project has retired. For details please refer to its
Attic page.
DownloadPolicy
org.apache.maven.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
Method Summary |
void |
applyPolicy(java.lang.String policySetting,
java.util.Properties request,
java.io.File localFile)
Apply the download policy. |
applyPolicy
void applyPolicy(java.lang.String policySetting,
java.util.Properties request,
java.io.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