org.apache.archiva.policies
Interface Policy

All Known Subinterfaces:
DownloadErrorPolicy, DownloadPolicy, PostDownloadPolicy, PreDownloadPolicy
All Known Implementing Classes:
AbstractUpdatePolicy, CachedFailuresPolicy, ChecksumPolicy, PropagateErrorsDownloadPolicy, PropagateErrorsOnUpdateDownloadPolicy, ReleasesPolicy, SnapshotsPolicy

public interface Policy


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

Method Detail

getOptions

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

Returns:
the list of options for this policy.

getDefaultOption

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

Returns:
the default policy for this policy.

getId

String getId()
Get the id for this policy.

Returns:
the id for this policy.

getName

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

Returns:
the name for this policy
To Do:
i18n


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.