Coverage Report - org.apache.maven.archiva.configuration.ProxyConnectorConfiguration
 
Classes in this File Line Coverage Branch Coverage Complexity
ProxyConnectorConfiguration
0%
0/5
N/A
1
 
 1  
 /*
 2  
  * $Id$
 3  
  */
 4  
 
 5  
 package org.apache.maven.archiva.configuration;
 6  
 
 7  
   //---------------------------------/
 8  
  //- Imported classes and packages -/
 9  
 //---------------------------------/
 10  
 
 11  
 import java.util.Date;
 12  
 
 13  
 /**
 14  
  * Class ProxyConnectorConfiguration.
 15  
  * 
 16  
  * @version $Revision$ $Date$
 17  
  */
 18  0
 public class ProxyConnectorConfiguration
 19  
     extends AbstractRepositoryConnectorConfiguration
 20  
     implements java.io.Serializable
 21  
 {
 22  
 
 23  
       //--------------------------/
 24  
      //- Class/Member Variables -/
 25  
     //--------------------------/
 26  
 
 27  
     /**
 28  
      * 
 29  
      *             The order of the proxy connectors. (0 means no
 30  
      * order specified)
 31  
      *           .
 32  
      */
 33  0
     private int order = 0;
 34  
 
 35  
 
 36  
       //-----------/
 37  
      //- Methods -/
 38  
     //-----------/
 39  
 
 40  
     /**
 41  
      * Get 
 42  
      *             The order of the proxy connectors. (0 means no
 43  
      * order specified)
 44  
      *           .
 45  
      * 
 46  
      * @return int
 47  
      */
 48  
     public int getOrder()
 49  
     {
 50  0
         return this.order;
 51  
     } //-- int getOrder()
 52  
 
 53  
     /**
 54  
      * Set 
 55  
      *             The order of the proxy connectors. (0 means no
 56  
      * order specified)
 57  
      *           .
 58  
      * 
 59  
      * @param order
 60  
      */
 61  
     public void setOrder( int order )
 62  
     {
 63  0
         this.order = order;
 64  0
     } //-- void setOrder( int )
 65  
 
 66  
 
 67  
     /**
 68  
      * The order id for UNORDERED
 69  
      */
 70  
     public static final int UNORDERED = 0;
 71  
 
 72  
     /**
 73  
      * The policy key {@link #getPolicies()} for error handling.
 74  
      * See {@link org.apache.maven.archiva.policies.DownloadErrorPolicy}
 75  
      * for details on potential values to this policy key.
 76  
      */
 77  
     public static final String POLICY_PROPAGATE_ERRORS = "propagate-errors";
 78  
 
 79  
     /**
 80  
      * The policy key {@link #getPolicies()} for error handling when an artifact is present.
 81  
      * See {@link org.apache.maven.archiva.policies.DownloadErrorPolicy}
 82  
      * for details on potential values to this policy key.
 83  
      */
 84  
     public static final String POLICY_PROPAGATE_ERRORS_ON_UPDATE = "propagate-errors-on-update";
 85  
 
 86  
     /**
 87  
      * The policy key {@link #getPolicies()} for snapshot handling.
 88  
      * See {@link org.apache.maven.archiva.policies.SnapshotsPolicy}
 89  
      * for details on potential values to this policy key.
 90  
      */
 91  
     public static final String POLICY_SNAPSHOTS = "snapshots";
 92  
 
 93  
     /**
 94  
      * The policy key {@link #getPolicies()} for releases handling.
 95  
      * See {@link org.apache.maven.archiva.policies.ReleasesPolicy}
 96  
      * for details on potential values to this policy key.
 97  
      */
 98  
     public static final String POLICY_RELEASES = "releases";
 99  
 
 100  
     /**
 101  
      * The policy key {@link #getPolicies()} for checksum handling.
 102  
      * See {@link org.apache.maven.archiva.policies.ChecksumPolicy}
 103  
      * for details on potential values to this policy key.
 104  
      */
 105  
     public static final String POLICY_CHECKSUM = "checksum";
 106  
 
 107  
     /**
 108  
      * The policy key {@link #getPolicies()} for cache-failures handling.
 109  
      * See {@link org.apache.maven.archiva.policies.CachedFailuresPolicy}
 110  
      * for details on potential values to this policy key.
 111  
      */
 112  
     public static final String POLICY_CACHE_FAILURES = "cache-failures";
 113  
           
 114  
 }