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
41
42
43 private String cronExpression = "";
44
45
46
47
48 private java.util.List<String> repositories;
49
50
51
52
53
54
55
56
57
58
59
60 public void addRepository( String string )
61 {
62 getRepositories().add( string );
63 }
64
65
66
67
68
69
70
71 public String getCronExpression()
72 {
73 return this.cronExpression;
74 }
75
76
77
78
79
80
81 public String getId()
82 {
83 return this.id;
84 }
85
86
87
88
89
90
91 public String getMergedIndexPath()
92 {
93 return this.mergedIndexPath;
94 }
95
96
97
98
99
100
101
102 public int getMergedIndexTtl()
103 {
104 return this.mergedIndexTtl;
105 }
106
107
108
109
110
111
112 public java.util.List<String> getRepositories()
113 {
114 if ( this.repositories == null )
115 {
116 this.repositories = new java.util.ArrayList<String>();
117 }
118
119 return this.repositories;
120 }
121
122
123
124
125
126
127 public void removeRepository( String string )
128 {
129 getRepositories().remove( string );
130 }
131
132
133
134
135
136
137
138 public void setCronExpression( String cronExpression )
139 {
140 this.cronExpression = cronExpression;
141 }
142
143
144
145
146
147
148 public void setId( String id )
149 {
150 this.id = id;
151 }
152
153
154
155
156
157
158 public void setMergedIndexPath( String mergedIndexPath )
159 {
160 this.mergedIndexPath = mergedIndexPath;
161 }
162
163
164
165
166
167
168
169 public void setMergedIndexTtl( int mergedIndexTtl )
170 {
171 this.mergedIndexTtl = mergedIndexTtl;
172 }
173
174
175
176
177
178
179 public void setRepositories( java.util.List<String> repositories )
180 {
181 this.repositories = repositories;
182 }
183
184 }