This project has retired. For details please refer to its
Attic page.
ReleasesPolicy
org.apache.maven.archiva.policies
Class ReleasesPolicy
java.lang.Object
org.apache.maven.archiva.policies.AbstractUpdatePolicy
org.apache.maven.archiva.policies.ReleasesPolicy
- All Implemented Interfaces:
- DownloadPolicy, Policy, PreDownloadPolicy
public class ReleasesPolicy
- extends AbstractUpdatePolicy
- implements PreDownloadPolicy
PreDownloadPolicy
to apply for released versions.
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.Policy |
getOptions |
ReleasesPolicy
public ReleasesPolicy()
getDefaultOption
public java.lang.String getDefaultOption()
- Defaults to
AbstractUpdatePolicy.HOURLY
- Specified by:
getDefaultOption
in interface Policy
- Returns:
- the default policy for this policy.
isSnapshotPolicy
protected boolean isSnapshotPolicy()
- Specified by:
isSnapshotPolicy
in class AbstractUpdatePolicy
getUpdateMode
protected java.lang.String getUpdateMode()
- Specified by:
getUpdateMode
in class AbstractUpdatePolicy
getId
public java.lang.String getId()
- Description copied from interface:
Policy
- Get the id for this policy.
- Specified by:
getId
in interface Policy
- Returns:
- the id for this policy.
getName
public java.lang.String getName()
- Description copied from interface:
Policy
- Get the display name for this policy.
- Specified by:
getName
in interface Policy
- Returns:
- the name for this policy