public interface DownloadErrorPolicy extends Policy
RESOURCE_BUNDLE| Modifier and Type | Method and Description |
|---|---|
boolean |
applyPolicy(PolicyOption policySetting,
Properties request,
StorageAsset localFile,
Exception exception,
Map<String,Exception> previousExceptions)
Apply the download error policy.
|
getDefaultOption, getDescription, getId, getName, getName, getOptionDescription, getOptionName, getOptionsboolean applyPolicy(PolicyOption policySetting, Properties request, StorageAsset localFile, Exception exception, Map<String,Exception> previousExceptions) throws PolicyConfigurationException
policySetting - the policy setting.request - the list of request properties that the policy might use.localFile - exception - the exception that triggered the errorpreviousExceptions - any previously triggered exceptionsPolicyConfigurationException - if the policy is improperly configuredCopyright © 2006–2019 The Apache Software Foundation. All rights reserved.