|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objectorg.apache.maven.archiva.policies.AbstractUpdatePolicy
org.apache.maven.archiva.policies.SnapshotsPolicy
public class SnapshotsPolicy
PreDownloadPolicy to apply for snapshot versions.
| Field Summary |
|---|
| Fields inherited from class org.apache.maven.archiva.policies.AbstractUpdatePolicy |
|---|
ALWAYS, DAILY, HOURLY, NEVER, ONCE |
| Constructor Summary | |
|---|---|
SnapshotsPolicy()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getDefaultOption()
Defaults to AbstractUpdatePolicy.HOURLY |
java.lang.String |
getId()
Get the id for this policy. |
java.lang.String |
getName()
Get the display name for this policy. |
protected java.lang.String |
getUpdateMode()
|
protected boolean |
isSnapshotPolicy()
|
| Methods inherited from class org.apache.maven.archiva.policies.AbstractUpdatePolicy |
|---|
applyPolicy, getOptions |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.maven.archiva.policies.DownloadPolicy |
|---|
applyPolicy |
| Methods inherited from interface org.apache.maven.archiva.policies.Policy |
|---|
getOptions |
| Constructor Detail |
|---|
public SnapshotsPolicy()
| Method Detail |
|---|
public java.lang.String getDefaultOption()
AbstractUpdatePolicy.HOURLY
getDefaultOption in interface Policyprotected boolean isSnapshotPolicy()
isSnapshotPolicy in class AbstractUpdatePolicyprotected java.lang.String getUpdateMode()
getUpdateMode in class AbstractUpdatePolicypublic java.lang.String getId()
Policy
getId in interface Policypublic java.lang.String getName()
Policy
getName in interface Policy
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||