This project has retired. For details please refer to its Attic page.
Policy

org.apache.maven.archiva.policies
Interface Policy

Package class diagram package Policy
All Known Subinterfaces:
DownloadErrorPolicy, DownloadPolicy, PostDownloadPolicy, PreDownloadPolicy
All Known Implementing Classes:
AbstractUpdatePolicy, CachedFailuresPolicy, ChecksumPolicy, PropagateErrorsDownloadPolicy, PropagateErrorsOnUpdateDownloadPolicy, ReleasesPolicy, SnapshotsPolicy

public interface Policy


Method Summary
 java.lang.String getDefaultOption()
          Get the default option for this policy.
 java.lang.String getId()
          Get the id for this policy.
 java.lang.String getName()
          Get the display name for this policy.
 java.util.List<java.lang.String> getOptions()
          Get the list of options for this policy.
 

Method Detail

getOptions

java.util.List<java.lang.String> getOptions()
Get the list of options for this policy.

Returns:
the list of options for this policy.

getDefaultOption

java.lang.String getDefaultOption()
Get the default option for this policy.

Returns:
the default policy for this policy.

getId

java.lang.String getId()
Get the id for this policy.

Returns:
the id for this policy.

getName

java.lang.String getName()
Get the display name for this policy.

Returns:
the name for this policy