
org.apache.maven.archiva.configuration.ProxyConnectorConfiguration Maven / Gradle / Ivy
/*
* $Id$
*/
package org.apache.maven.archiva.configuration;
//---------------------------------/
//- Imported classes and packages -/
//---------------------------------/
import java.util.Date;
/**
* Class ProxyConnectorConfiguration.
*
* @version $Revision$ $Date$
*/
public class ProxyConnectorConfiguration
extends AbstractRepositoryConnectorConfiguration
implements java.io.Serializable
{
//--------------------------/
//- Class/Member Variables -/
//--------------------------/
/**
*
* The order of the proxy connectors. (0 means no
* order specified)
* .
*/
private int order = 0;
//-----------/
//- Methods -/
//-----------/
/**
* Get
* The order of the proxy connectors. (0 means no
* order specified)
* .
*
* @return int
*/
public int getOrder()
{
return this.order;
} //-- int getOrder()
/**
* Set
* The order of the proxy connectors. (0 means no
* order specified)
* .
*
* @param order
*/
public void setOrder( int order )
{
this.order = order;
} //-- void setOrder( int )
/**
* The order id for UNORDERED
*/
public static final int UNORDERED = 0;
/**
* The policy key {@link #getPolicies()} for error handling.
* See {@link org.apache.maven.archiva.policies.DownloadErrorPolicy}
* for details on potential values to this policy key.
*/
public static final String POLICY_PROPAGATE_ERRORS = "propagate-errors";
/**
* The policy key {@link #getPolicies()} for error handling when an artifact is present.
* See {@link org.apache.maven.archiva.policies.DownloadErrorPolicy}
* for details on potential values to this policy key.
*/
public static final String POLICY_PROPAGATE_ERRORS_ON_UPDATE = "propagate-errors-on-update";
/**
* The policy key {@link #getPolicies()} for snapshot handling.
* See {@link org.apache.maven.archiva.policies.SnapshotsPolicy}
* for details on potential values to this policy key.
*/
public static final String POLICY_SNAPSHOTS = "snapshots";
/**
* The policy key {@link #getPolicies()} for releases handling.
* See {@link org.apache.maven.archiva.policies.ReleasesPolicy}
* for details on potential values to this policy key.
*/
public static final String POLICY_RELEASES = "releases";
/**
* The policy key {@link #getPolicies()} for checksum handling.
* See {@link org.apache.maven.archiva.policies.ChecksumPolicy}
* for details on potential values to this policy key.
*/
public static final String POLICY_CHECKSUM = "checksum";
/**
* The policy key {@link #getPolicies()} for cache-failures handling.
* See {@link org.apache.maven.archiva.policies.CachedFailuresPolicy}
* for details on potential values to this policy key.
*/
public static final String POLICY_CACHE_FAILURES = "cache-failures";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy