Package | Description |
---|---|
org.apache.archiva.policies | |
org.apache.archiva.proxy.model | |
org.apache.archiva.rest.api.model |
Modifier and Type | Class and Description |
---|---|
class |
ChecksumOption
Options for checksum policy
|
class |
DownloadErrorOption
Options for download error update policies
|
class |
StandardOption
Standard Options for policies.
|
class |
UpdateOption
Options for update policies
|
Modifier and Type | Field and Description |
---|---|
static PolicyOption |
AbstractUpdatePolicy.ALWAYS
The ALWAYS policy setting means that the artifact is always updated from the remote repo.
|
static PolicyOption |
AbstractUpdatePolicy.NEVER
The NEVER policy setting means that the artifact is never updated from the remote repo.
|
Modifier and Type | Method and Description |
---|---|
static PolicyOption |
PolicyUtil.findOption(String id,
Policy policy) |
PolicyOption |
ChecksumPolicy.getDefaultOption() |
PolicyOption |
Policy.getDefaultOption()
Get the default option for this policy.
|
PolicyOption |
PropagateErrorsOnUpdateDownloadPolicy.getDefaultOption() |
PolicyOption |
CachedFailuresPolicy.getDefaultOption() |
PolicyOption |
SnapshotsPolicy.getDefaultOption()
Defaults to
AbstractUpdatePolicy.HOURLY |
PolicyOption |
ReleasesPolicy.getDefaultOption()
Defaults to
AbstractUpdatePolicy.HOURLY |
PolicyOption |
PropagateErrorsDownloadPolicy.getDefaultOption() |
PolicyOption |
ChecksumOption.ofId(String id) |
PolicyOption |
UpdateOption.ofId(String id) |
PolicyOption |
DownloadErrorOption.ofId(String id) |
PolicyOption |
StandardOption.ofId(String id) |
PolicyOption |
PolicyOption.ofId(String id) |
Modifier and Type | Method and Description |
---|---|
List<PolicyOption> |
ChecksumPolicy.getOptions() |
List<PolicyOption> |
Policy.getOptions()
Get the list of options for this policy.
|
List<PolicyOption> |
PropagateErrorsOnUpdateDownloadPolicy.getOptions() |
List<PolicyOption> |
CachedFailuresPolicy.getOptions() |
List<PolicyOption> |
PropagateErrorsDownloadPolicy.getOptions() |
List<PolicyOption> |
AbstractUpdatePolicy.getOptions() |
Modifier and Type | Method and Description |
---|---|
void |
ChecksumPolicy.applyPolicy(PolicyOption policySetting,
Properties request,
StorageAsset localFile) |
void |
DownloadPolicy.applyPolicy(PolicyOption policySetting,
Properties request,
StorageAsset localFile)
Apply the download policy.
|
void |
CachedFailuresPolicy.applyPolicy(PolicyOption policySetting,
Properties request,
StorageAsset localFile) |
void |
AbstractUpdatePolicy.applyPolicy(PolicyOption policySetting,
Properties request,
StorageAsset localFile) |
boolean |
PropagateErrorsOnUpdateDownloadPolicy.applyPolicy(PolicyOption policySetting,
Properties request,
StorageAsset localFile,
Exception exception,
Map<String,Exception> previousExceptions) |
boolean |
DownloadErrorPolicy.applyPolicy(PolicyOption policySetting,
Properties request,
StorageAsset localFile,
Exception exception,
Map<String,Exception> previousExceptions)
Apply the download error policy.
|
boolean |
PropagateErrorsDownloadPolicy.applyPolicy(PolicyOption policySetting,
Properties request,
StorageAsset localFile,
Exception exception,
Map<String,Exception> previousExceptions) |
String |
Policy.getOptionDescription(Locale locale,
PolicyOption option)
Returns a description for the given option.
|
String |
AbstractPolicy.getOptionDescription(Locale locale,
PolicyOption option) |
String |
Policy.getOptionName(Locale locale,
PolicyOption option)
Returns a name for the given option.
|
String |
AbstractPolicy.getOptionName(Locale locale,
PolicyOption option) |
Modifier and Type | Method and Description |
---|---|
Map<Policy,PolicyOption> |
ProxyConnector.getPolicies()
Returns the policies that are defined
|
Modifier and Type | Method and Description |
---|---|
void |
ProxyConnector.addPolicy(Policy policy,
PolicyOption option)
Adds a new policy.
|
Modifier and Type | Method and Description |
---|---|
void |
ProxyConnector.setPolicies(Map<Policy,PolicyOption> policies)
Sets policies that set the behaviour of this proxy connector.
|
Modifier and Type | Method and Description |
---|---|
PolicyOption |
PolicyInformation.getDefaultOption() |
Modifier and Type | Method and Description |
---|---|
List<PolicyOption> |
PolicyInformation.getOptions() |
Modifier and Type | Method and Description |
---|---|
void |
PolicyInformation.setDefaultOption(PolicyOption defaultOption) |
Modifier and Type | Method and Description |
---|---|
void |
PolicyInformation.setOptions(List<PolicyOption> options) |
Constructor and Description |
---|
PolicyInformation(List<PolicyOption> options,
PolicyOption defaultOption,
String id,
String name) |
Constructor and Description |
---|
PolicyInformation(List<PolicyOption> options,
PolicyOption defaultOption,
String id,
String name) |
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.