This project has retired. For details please refer to its Attic page.
ProxyConnectorConfiguration xref
View Javadoc
1   // =================== DO NOT EDIT THIS FILE ====================
2   // Generated by Modello 1.7,
3   // any modifications will be overwritten.
4   // ==============================================================
5   
6   package org.apache.archiva.configuration;
7   
8   /**
9    * Class ProxyConnectorConfiguration.
10   * 
11   * @version $Revision$ $Date$
12   */
13  @SuppressWarnings( "all" )
14  public class ProxyConnectorConfiguration
15      extends AbstractRepositoryConnectorConfiguration
16      implements java.io.Serializable
17  {
18  
19        //--------------------------/
20       //- Class/Member Variables -/
21      //--------------------------/
22  
23      /**
24       * 
25       *             The order of the proxy connectors. (0 means no
26       * order specified)
27       *           .
28       */
29      private int order = 0;
30  
31  
32        //-----------/
33       //- Methods -/
34      //-----------/
35  
36      /**
37       * Get the order of the proxy connectors. (0 means no order
38       * specified).
39       * 
40       * @return int
41       */
42      public int getOrder()
43      {
44          return this.order;
45      } //-- int getOrder()
46  
47      /**
48       * Set the order of the proxy connectors. (0 means no order
49       * specified).
50       * 
51       * @param order
52       */
53      public void setOrder( int order )
54      {
55          this.order = order;
56      } //-- void setOrder( int )
57  
58      
59      /**
60       * The order id for UNORDERED
61       */
62      public static final int UNORDERED = 0;
63  
64      /**
65       * The policy key {@link #getPolicies()} for error handling.
66       * See {@link org.apache.archiva.policies.DownloadErrorPolicy}
67       * for details on potential values to this policy key.
68       */
69      public static final String POLICY_PROPAGATE_ERRORS = "propagate-errors";
70  
71      /**
72       * The policy key {@link #getPolicies()} for error handling when an artifact is present.
73       * See {@link org.apache.archiva.policies.DownloadErrorPolicy}
74       * for details on potential values to this policy key.
75       */
76      public static final String POLICY_PROPAGATE_ERRORS_ON_UPDATE = "propagate-errors-on-update";
77  
78      /**
79       * The policy key {@link #getPolicies()} for snapshot handling.
80       * See {@link org.apache.archiva.policies.SnapshotsPolicy}
81       * for details on potential values to this policy key.
82       */
83      public static final String POLICY_SNAPSHOTS = "snapshots";
84  
85      /**
86       * The policy key {@link #getPolicies()} for releases handling.
87       * See {@link org.apache.archiva.policies.ReleasesPolicy}
88       * for details on potential values to this policy key.
89       */
90      public static final String POLICY_RELEASES = "releases";
91  
92      /**
93       * The policy key {@link #getPolicies()} for checksum handling.
94       * See {@link org.apache.archiva.policies.ChecksumPolicy}
95       * for details on potential values to this policy key.
96       */
97      public static final String POLICY_CHECKSUM = "checksum";
98  
99      /**
100      * The policy key {@link #getPolicies()} for cache-failures handling.
101      * See {@link org.apache.archiva.policies.CachedFailuresPolicy}
102      * for details on potential values to this policy key.
103      */
104     public static final String POLICY_CACHE_FAILURES = "cache-failures";
105           
106 }