@Service(value="preDownloadPolicy#releases") public class ReleasesPolicy extends AbstractUpdatePolicy implements PreDownloadPolicy
PreDownloadPolicy to apply for released versions.ALWAYS, DAILY, HOURLY, NEVER, ONCERESOURCE_BUNDLE| Constructor and Description |
|---|
ReleasesPolicy() |
| Modifier and Type | Method and Description |
|---|---|
PolicyOption |
getDefaultOption()
Defaults to
AbstractUpdatePolicy.HOURLY |
String |
getId()
Get the id for this policy.
|
protected String |
getUpdateMode() |
protected boolean |
isSnapshotPolicy() |
applyPolicy, getOptionsgetDescription, getName, getName, getOptionDescription, getOptionName, getOptionPrefix, getPolicyPrefix, setOptionPrefix, setPolicyPrefixclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyPolicygetDescription, getName, getName, getOptionDescription, getOptionName, getOptionspublic ReleasesPolicy()
public PolicyOption getDefaultOption()
AbstractUpdatePolicy.HOURLYgetDefaultOption in interface Policyprotected boolean isSnapshotPolicy()
isSnapshotPolicy in class AbstractUpdatePolicyprotected String getUpdateMode()
getUpdateMode in class AbstractUpdatePolicyCopyright © 2006–2019 The Apache Software Foundation. All rights reserved.