@Service(value="preDownloadPolicy#releases") public class ReleasesPolicy extends AbstractUpdatePolicy implements PreDownloadPolicy
PreDownloadPolicy to apply for released versions.| Constructor and Description | 
|---|
ReleasesPolicy()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getDefaultOption()
Defaults to  
AbstractUpdatePolicy.HOURLY | 
String | 
getId()
Get the id for this policy. 
 | 
String | 
getName()
Get the display name for this policy. 
 | 
protected String | 
getUpdateMode()  | 
protected boolean | 
isSnapshotPolicy()  | 
applyPolicy, getOptionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyPolicygetOptionspublic ReleasesPolicy()
public String getDefaultOption()
AbstractUpdatePolicy.HOURLYgetDefaultOption in interface Policyprotected boolean isSnapshotPolicy()
isSnapshotPolicy in class AbstractUpdatePolicyprotected String getUpdateMode()
getUpdateMode in class AbstractUpdatePolicyCopyright © 2006–2022 The Apache Software Foundation. All rights reserved.