001    // =================== DO NOT EDIT THIS FILE ====================
002    // Generated by Modello 1.7,
003    // any modifications will be overwritten.
004    // ==============================================================
005    
006    package org.apache.archiva.configuration;
007    
008    /**
009     * Class ProxyConnectorConfiguration.
010     * 
011     * @version $Revision$ $Date$
012     */
013    @SuppressWarnings( "all" )
014    public class ProxyConnectorConfiguration
015        extends AbstractRepositoryConnectorConfiguration
016        implements java.io.Serializable
017    {
018    
019          //--------------------------/
020         //- Class/Member Variables -/
021        //--------------------------/
022    
023        /**
024         * 
025         *             The order of the proxy connectors. (0 means no
026         * order specified)
027         *           .
028         */
029        private int order = 0;
030    
031    
032          //-----------/
033         //- Methods -/
034        //-----------/
035    
036        /**
037         * Get the order of the proxy connectors. (0 means no order
038         * specified).
039         * 
040         * @return int
041         */
042        public int getOrder()
043        {
044            return this.order;
045        } //-- int getOrder()
046    
047        /**
048         * Set the order of the proxy connectors. (0 means no order
049         * specified).
050         * 
051         * @param order
052         */
053        public void setOrder( int order )
054        {
055            this.order = order;
056        } //-- void setOrder( int )
057    
058        
059        /**
060         * The order id for UNORDERED
061         */
062        public static final int UNORDERED = 0;
063    
064        /**
065         * The policy key {@link #getPolicies()} for error handling.
066         * See {@link org.apache.archiva.policies.DownloadErrorPolicy}
067         * for details on potential values to this policy key.
068         */
069        public static final String POLICY_PROPAGATE_ERRORS = "propagate-errors";
070    
071        /**
072         * The policy key {@link #getPolicies()} for error handling when an artifact is present.
073         * See {@link org.apache.archiva.policies.DownloadErrorPolicy}
074         * for details on potential values to this policy key.
075         */
076        public static final String POLICY_PROPAGATE_ERRORS_ON_UPDATE = "propagate-errors-on-update";
077    
078        /**
079         * The policy key {@link #getPolicies()} for snapshot handling.
080         * See {@link org.apache.archiva.policies.SnapshotsPolicy}
081         * for details on potential values to this policy key.
082         */
083        public static final String POLICY_SNAPSHOTS = "snapshots";
084    
085        /**
086         * The policy key {@link #getPolicies()} for releases handling.
087         * See {@link org.apache.archiva.policies.ReleasesPolicy}
088         * for details on potential values to this policy key.
089         */
090        public static final String POLICY_RELEASES = "releases";
091    
092        /**
093         * The policy key {@link #getPolicies()} for checksum handling.
094         * See {@link org.apache.archiva.policies.ChecksumPolicy}
095         * for details on potential values to this policy key.
096         */
097        public static final String POLICY_CHECKSUM = "checksum";
098    
099        /**
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    }