This project has retired. For details please refer to its Attic page.
Source code
001// =================== DO NOT EDIT THIS FILE ====================
002// Generated by Modello 1.7,
003// any modifications will be overwritten.
004// ==============================================================
005
006package org.apache.archiva.configuration;
007
008/**
009 * 
010 *       Archiva default settings.
011 *     
012 * 
013 * @version $Revision$ $Date$
014 */
015@SuppressWarnings( "all" )
016public class ArchivaDefaultConfiguration
017    implements java.io.Serializable
018{
019
020      //--------------------------/
021     //- Class/Member Variables -/
022    //--------------------------/
023
024    /**
025     * Field defaultCheckPaths.
026     */
027    private java.util.List<RepositoryCheckPath> defaultCheckPaths;
028
029
030      //-----------/
031     //- Methods -/
032    //-----------/
033
034    /**
035     * Method addDefaultCheckPath.
036     * 
037     * @param repositoryCheckPath
038     */
039    public void addDefaultCheckPath( RepositoryCheckPath repositoryCheckPath )
040    {
041        getDefaultCheckPaths().add( repositoryCheckPath );
042    } //-- void addDefaultCheckPath( RepositoryCheckPath )
043
044    /**
045     * Method getDefaultCheckPaths.
046     * 
047     * @return List
048     */
049    public java.util.List<RepositoryCheckPath> getDefaultCheckPaths()
050    {
051        if ( this.defaultCheckPaths == null )
052        {
053            this.defaultCheckPaths = new java.util.ArrayList<RepositoryCheckPath>();
054        }
055
056        return this.defaultCheckPaths;
057    } //-- java.util.List<RepositoryCheckPath> getDefaultCheckPaths()
058
059    /**
060     * Method removeDefaultCheckPath.
061     * 
062     * @param repositoryCheckPath
063     */
064    public void removeDefaultCheckPath( RepositoryCheckPath repositoryCheckPath )
065    {
066        getDefaultCheckPaths().remove( repositoryCheckPath );
067    } //-- void removeDefaultCheckPath( RepositoryCheckPath )
068
069    /**
070     * Set the default check paths for certain remote repositories.
071     * 
072     * @param defaultCheckPaths
073     */
074    public void setDefaultCheckPaths( java.util.List<RepositoryCheckPath> defaultCheckPaths )
075    {
076        this.defaultCheckPaths = defaultCheckPaths;
077    } //-- void setDefaultCheckPaths( java.util.List )
078
079}