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 *
10 * Archiva default settings.
11 *
12 *
13 * @version $Revision$ $Date$
14 */
15 @SuppressWarnings( "all" )
16 public class ArchivaDefaultConfiguration
17 implements java.io.Serializable
18 {
19
20 //--------------------------/
21 //- Class/Member Variables -/
22 //--------------------------/
23
24 /**
25 * Field defaultCheckPaths.
26 */
27 private java.util.List<RepositoryCheckPath> defaultCheckPaths;
28
29
30 //-----------/
31 //- Methods -/
32 //-----------/
33
34 /**
35 * Method addDefaultCheckPath.
36 *
37 * @param repositoryCheckPath
38 */
39 public void addDefaultCheckPath( RepositoryCheckPath repositoryCheckPath )
40 {
41 getDefaultCheckPaths().add( repositoryCheckPath );
42 } //-- void addDefaultCheckPath( RepositoryCheckPath )
43
44 /**
45 * Method getDefaultCheckPaths.
46 *
47 * @return List
48 */
49 public java.util.List<RepositoryCheckPath> getDefaultCheckPaths()
50 {
51 if ( this.defaultCheckPaths == null )
52 {
53 this.defaultCheckPaths = new java.util.ArrayList<RepositoryCheckPath>();
54 }
55
56 return this.defaultCheckPaths;
57 } //-- java.util.List<RepositoryCheckPath> getDefaultCheckPaths()
58
59 /**
60 * Method removeDefaultCheckPath.
61 *
62 * @param repositoryCheckPath
63 */
64 public void removeDefaultCheckPath( RepositoryCheckPath repositoryCheckPath )
65 {
66 getDefaultCheckPaths().remove( repositoryCheckPath );
67 } //-- void removeDefaultCheckPath( RepositoryCheckPath )
68
69 /**
70 * Set the default check paths for certain remote repositories.
71 *
72 * @param defaultCheckPaths
73 */
74 public void setDefaultCheckPaths( java.util.List<RepositoryCheckPath> defaultCheckPaths )
75 {
76 this.defaultCheckPaths = defaultCheckPaths;
77 } //-- void setDefaultCheckPaths( java.util.List )
78
79 }