@Service(value="preDownloadPolicy#snapshots") public class SnapshotsPolicy extends AbstractUpdatePolicy implements PreDownloadPolicy
PreDownloadPolicy
to apply for snapshot versions.Constructor and Description |
---|
SnapshotsPolicy() |
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 SnapshotsPolicy()
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–2023 The Apache Software Foundation. All rights reserved.