@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, getOptions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyPolicy
getOptions
public ReleasesPolicy()
public String getDefaultOption()
AbstractUpdatePolicy.HOURLY
getDefaultOption
in interface Policy
protected boolean isSnapshotPolicy()
isSnapshotPolicy
in class AbstractUpdatePolicy
protected String getUpdateMode()
getUpdateMode
in class AbstractUpdatePolicy
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.