Package | Description |
---|---|
org.apache.archiva.policies | |
org.apache.archiva.proxy | |
org.apache.archiva.proxy.model |
Modifier and Type | Interface and Description |
---|---|
interface |
DownloadErrorPolicy
Policy to apply after the download has completed, but before the
resource is made available to the calling client.
|
interface |
DownloadPolicy
DownloadPolicy
|
interface |
PostDownloadPolicy
Policy to apply after the download has completed, but before the
resource is made available to the calling client.
|
interface |
PreDownloadPolicy
Policy to apply before the download is attempted.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractPolicy
Abstract policy class that handles the name and description loading with message bundles.
|
class |
AbstractUpdatePolicy
AbstractUpdatePolicy
|
class |
CachedFailuresPolicy
PreDownloadPolicy to check if the requested url has failed before. |
class |
ChecksumPolicy
ChecksumPolicy - a policy applied after the download to see if the file has been downloaded
successfully and completely (or not).
|
class |
PropagateErrorsDownloadPolicy
PropagateErrorsPolicy - a policy applied on error to determine how to treat the error.
|
class |
PropagateErrorsOnUpdateDownloadPolicy
PropagateErrorsPolicy - a policy applied on error to determine how to treat the error.
|
class |
ReleasesPolicy
PreDownloadPolicy to apply for released versions. |
class |
SnapshotsPolicy
PreDownloadPolicy to apply for snapshot versions. |
Modifier and Type | Method and Description |
---|---|
static PolicyOption |
PolicyUtil.findOption(String id,
Policy policy) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultRepositoryProxyHandler.addPolicy(Policy policy) |
void |
DefaultRepositoryProxyHandler.removePolicy(Policy policy) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultRepositoryProxyHandler.setPolicies(List<Policy> policyList) |
Modifier and Type | Method and Description |
---|---|
Map<Policy,PolicyOption> |
ProxyConnector.getPolicies()
Returns the policies that are defined
|
Modifier and Type | Method and Description |
---|---|
void |
RepositoryProxyHandler.addPolicy(Policy policy)
Adds a policy
|
void |
ProxyConnector.addPolicy(Policy policy,
PolicyOption option)
Adds a new policy.
|
void |
RepositoryProxyHandler.removePolicy(Policy policy)
Removes a policy
|
Modifier and Type | Method and Description |
---|---|
void |
RepositoryProxyHandler.setPolicies(List<Policy> policyList)
Sets the policies that this handler should validate.
|
void |
ProxyConnector.setPolicies(Map<Policy,PolicyOption> policies)
Sets policies that set the behaviour of this proxy connector.
|
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.