1
2
3
4
5
6 package org.apache.archiva.configuration;
7
8
9
10
11
12
13 @SuppressWarnings( "all" )
14 public class RepositoryGroupConfiguration
15 implements java.io.Serializable
16 {
17
18
19
20
21
22
23
24
25 private String id;
26
27
28
29
30 private String mergedIndexPath = "/.indexer";
31
32
33
34
35 private int mergedIndexTtl = 30;
36
37
38
39
40 private java.util.List<String> repositories;
41
42
43
44
45
46
47
48
49
50
51
52 public void addRepository( String string )
53 {
54 getRepositories().add( string );
55 }
56
57
58
59
60
61
62 public String getId()
63 {
64 return this.id;
65 }
66
67
68
69
70
71
72 public String getMergedIndexPath()
73 {
74 return this.mergedIndexPath;
75 }
76
77
78
79
80
81
82
83 public int getMergedIndexTtl()
84 {
85 return this.mergedIndexTtl;
86 }
87
88
89
90
91
92
93 public java.util.List<String> getRepositories()
94 {
95 if ( this.repositories == null )
96 {
97 this.repositories = new java.util.ArrayList<String>();
98 }
99
100 return this.repositories;
101 }
102
103
104
105
106
107
108 public void removeRepository( String string )
109 {
110 getRepositories().remove( string );
111 }
112
113
114
115
116
117
118 public void setId( String id )
119 {
120 this.id = id;
121 }
122
123
124
125
126
127
128 public void setMergedIndexPath( String mergedIndexPath )
129 {
130 this.mergedIndexPath = mergedIndexPath;
131 }
132
133
134
135
136
137
138
139 public void setMergedIndexTtl( int mergedIndexTtl )
140 {
141 this.mergedIndexTtl = mergedIndexTtl;
142 }
143
144
145
146
147
148
149 public void setRepositories( java.util.List<String> repositories )
150 {
151 this.repositories = repositories;
152 }
153
154 }