public interface DownloadPolicy extends Policy
RESOURCE_BUNDLE| Modifier and Type | Method and Description |
|---|---|
void |
applyPolicy(PolicyOption policySetting,
Properties request,
StorageAsset localFile)
Apply the download policy.
|
getDefaultOption, getDescription, getId, getName, getName, getOptionDescription, getOptionName, getOptionsvoid applyPolicy(PolicyOption policySetting, Properties request, StorageAsset localFile) throws PolicyViolationException, PolicyConfigurationException
policySetting - the policy setting.request - the list of request properties that the policy might use.localFile - PolicyViolationException - if the policy has been violated.PolicyConfigurationExceptionCopyright © 2006–2019 The Apache Software Foundation. All rights reserved.