Skip to content

Commit 46fea72

Browse files
committed
Fix javadoc warnings
1 parent 01b23f0 commit 46fea72

File tree

6 files changed

+115
-0
lines changed

6 files changed

+115
-0
lines changed

model/src/main/java/io/wcm/devops/conga/model/environment/RoleConfig.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ public String getRole() {
3737
return this.role;
3838
}
3939

40+
/**
41+
* Sets role name.
42+
* @param role Role name
43+
*/
4044
public void setRole(String role) {
4145
this.role = role;
4246
}

model/src/main/java/io/wcm/devops/conga/model/environment/Tenant.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ public String getTenant() {
4545
return this.tenant;
4646
}
4747

48+
/**
49+
* Sets tenant name.
50+
* @param tenant Tenant name
51+
*/
4852
public void setTenant(String tenant) {
4953
this.tenant = tenant;
5054
}
@@ -58,6 +62,10 @@ public List<String> getRoles() {
5862
return this.roles;
5963
}
6064

65+
/**
66+
* Sets tenant roles.
67+
* @param roles List of tenant role names
68+
*/
6169
public void setRoles(List<String> roles) {
6270
this.roles = defaultEmptyList(roles);
6371
}

model/src/main/java/io/wcm/devops/conga/model/role/Role.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ public List<RoleVariant> getVariants() {
6464
return this.variants;
6565
}
6666

67+
/**
68+
* Sets role variants.
69+
* @param variants List of role variant definitions
70+
*/
6771
public void setVariants(List<RoleVariant> variants) {
6872
this.variants = defaultEmptyList(variants);
6973
}
@@ -77,6 +81,10 @@ public String getTemplateDir() {
7781
return this.templateDir;
7882
}
7983

84+
/**
85+
* Sets template directory.
86+
* @param templateDirectory Relative path to template files
87+
*/
8088
public void setTemplateDir(String templateDirectory) {
8189
this.templateDir = templateDirectory;
8290
}
@@ -89,6 +97,10 @@ public List<RoleFile> getFiles() {
8997
return this.files;
9098
}
9199

100+
/**
101+
* Sets files.
102+
* @param files List of file definitions
103+
*/
92104
public void setFiles(List<RoleFile> files) {
93105
this.files = defaultEmptyList(files);
94106
}
@@ -102,6 +114,10 @@ public List<String> getSensitiveConfigParameters() {
102114
return defaultEmptyList(this.sensitiveConfigParameters);
103115
}
104116

117+
/**
118+
* Sets sensitive configuration parameters.
119+
* @param sensitiveProperties List of configuration parameter names
120+
*/
105121
public void setSensitiveConfigParameters(List<String> sensitiveProperties) {
106122
this.sensitiveConfigParameters = sensitiveProperties;
107123
}

model/src/main/java/io/wcm/devops/conga/model/role/RoleFile.java

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ public String getFile() {
7474
return this.file;
7575
}
7676

77+
/**
78+
* Sets file name.
79+
* @param name File name
80+
*/
7781
public void setFile(String name) {
7882
this.file = name;
7983
}
@@ -89,6 +93,10 @@ public String getDir() {
8993
return this.dir;
9094
}
9195

96+
/**
97+
* Sets directory.
98+
* @param dir Directory name
99+
*/
92100
public void setDir(String dir) {
93101
this.dir = dir;
94102
}
@@ -102,6 +110,10 @@ public String getTemplate() {
102110
return this.template;
103111
}
104112

113+
/**
114+
* Sets template name.
115+
* @param template Template file name
116+
*/
105117
public void setTemplate(String template) {
106118
this.template = template;
107119
}
@@ -116,6 +128,10 @@ public String getUrl() {
116128
return this.url;
117129
}
118130

131+
/**
132+
* Sets download URL.
133+
* @param url Download URL
134+
*/
119135
public void setUrl(String url) {
120136
this.url = url;
121137
}
@@ -130,6 +146,10 @@ public String getSymlinkTarget() {
130146
return this.symlinkTarget;
131147
}
132148

149+
/**
150+
* Sets symlink target.
151+
* @param symlinkTarget Symlink target
152+
*/
133153
public void setSymlinkTarget(String symlinkTarget) {
134154
this.symlinkTarget = symlinkTarget;
135155
}
@@ -147,11 +167,16 @@ public List<String> getVariants() {
147167
return this.variants;
148168
}
149169

170+
/**
171+
* Sets role variant names.
172+
* @param variants List of role variant names
173+
*/
150174
public void setVariants(List<String> variants) {
151175
this.variants = defaultEmptyList(variants);
152176
}
153177

154178
/**
179+
* Gets variant metadata.
155180
* @return List of variants with metadata ("*" suffix is parsed)
156181
*/
157182
public List<RoleFileVariantMetadata> getVariantsMetadata() {
@@ -170,6 +195,10 @@ public String getCondition() {
170195
return this.condition;
171196
}
172197

198+
/**
199+
* Sets condition.
200+
* @param condition Condition expression
201+
*/
173202
public void setCondition(String condition) {
174203
this.condition = condition;
175204
}
@@ -184,6 +213,10 @@ public String getFileHeader() {
184213
return this.fileHeader;
185214
}
186215

216+
/**
217+
* Sets file header plugin name.
218+
* @param fileHeader File header plugin name
219+
*/
187220
public void setFileHeader(String fileHeader) {
188221
this.fileHeader = fileHeader;
189222
}
@@ -198,6 +231,10 @@ public List<String> getValidators() {
198231
return this.validators;
199232
}
200233

234+
/**
235+
* Sets validator plugin names.
236+
* @param validators List of validator plugin names
237+
*/
201238
public void setValidators(List<String> validators) {
202239
this.validators = defaultEmptyList(validators);
203240
}
@@ -212,6 +249,10 @@ public Map<String, Object> getValidatorOptions() {
212249
}
213250

214251

252+
/**
253+
* Sets validator options.
254+
* @param validatorOptions Configuration parameters
255+
*/
215256
public void setValidatorOptions(Map<String, Object> validatorOptions) {
216257
this.validatorOptions = defaultEmptyMap(MapExpander.expand(validatorOptions));
217258
}
@@ -224,6 +265,10 @@ public List<String> getPostProcessors() {
224265
return this.postProcessors;
225266
}
226267

268+
/**
269+
* Sets post processor plugin names.
270+
* @param postProcessors List of post processor plugin names
271+
*/
227272
public void setPostProcessors(List<String> postProcessors) {
228273
this.postProcessors = defaultEmptyList(postProcessors);
229274
}
@@ -247,6 +292,10 @@ public Map<String, Object> getPostProcessorOptions() {
247292
return this.postProcessorOptions;
248293
}
249294

295+
/**
296+
* Sets post processor options.
297+
* @param postProcessorOptions Configuration parameters
298+
*/
250299
public void setPostProcessorOptions(Map<String, Object> postProcessorOptions) {
251300
this.postProcessorOptions = defaultEmptyMap(MapExpander.expand(postProcessorOptions));
252301
}
@@ -261,6 +310,10 @@ public String getMultiply() {
261310
return this.multiply;
262311
}
263312

313+
/**
314+
* Sets multiply plugin name.
315+
* @param multiply Multiply plugin name
316+
*/
264317
public void setMultiply(String multiply) {
265318
this.multiply = multiply;
266319
}
@@ -274,6 +327,10 @@ public Map<String, Object> getMultiplyOptions() {
274327
return this.multiplyOptions;
275328
}
276329

330+
/**
331+
* Sets multiply options.
332+
* @param multiplyOptions Configuration parameters
333+
*/
277334
public void setMultiplyOptions(Map<String, Object> multiplyOptions) {
278335
this.multiplyOptions = defaultEmptyMap(MapExpander.expand(multiplyOptions));
279336
}
@@ -287,6 +344,10 @@ public String getCharset() {
287344
return this.charset;
288345
}
289346

347+
/**
348+
* Sets charset.
349+
* @param charset Charset name
350+
*/
290351
public void setCharset(String charset) {
291352
this.charset = charset;
292353
}
@@ -300,6 +361,10 @@ public LineEndings getLineEndings() {
300361
return this.lineEndings;
301362
}
302363

364+
/**
365+
* Sets line endings style.
366+
* @param lineEndings Line endings style
367+
*/
303368
public void setLineEndings(LineEndings lineEndings) {
304369
this.lineEndings = lineEndings;
305370
}
@@ -314,6 +379,10 @@ public String getEscapingStrategy() {
314379
return this.escapingStrategy;
315380
}
316381

382+
/**
383+
* Sets escaping strategy plugin name.
384+
* @param escapingStrategy Handlebars escaping strategy plugin name
385+
*/
317386
public void setEscapingStrategy(String escapingStrategy) {
318387
this.escapingStrategy = escapingStrategy;
319388
}
@@ -327,6 +396,10 @@ public Map<String, Object> getModelOptions() {
327396
}
328397

329398

399+
/**
400+
* Sets model options.
401+
* @param modelOptions Model options
402+
*/
330403
public void setModelOptions(Map<String, Object> modelOptions) {
331404
this.modelOptions = modelOptions;
332405
}
@@ -341,6 +414,10 @@ public boolean isDeleteSource() {
341414
return this.deleteSource;
342415
}
343416

417+
/**
418+
* Sets delete source flag.
419+
* @param deleteSource true if the source file should be deleted
420+
*/
344421
public void setDeleteSource(boolean deleteSource) {
345422
this.deleteSource = deleteSource;
346423
}
@@ -366,13 +443,15 @@ public static class RoleFileVariantMetadata {
366443
}
367444

368445
/**
446+
* Gets variant name.
369447
* @return Variant name (without "*" suffix)
370448
*/
371449
public String getVariant() {
372450
return this.variant;
373451
}
374452

375453
/**
454+
* Checks if variant is mandatory.
376455
* @return true if variant is mandatory (was suffixed with "*")
377456
*/
378457
public boolean isMandatory() {

model/src/main/java/io/wcm/devops/conga/model/role/RoleInherit.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ public String getRole() {
3737
return this.role;
3838
}
3939

40+
/**
41+
* Sets role name.
42+
* @param role Role name
43+
*/
4044
public void setRole(String role) {
4145
this.role = role;
4246
}

model/src/main/java/io/wcm/devops/conga/model/role/RoleVariant.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ public String getVariant() {
3737
return this.variant;
3838
}
3939

40+
/**
41+
* Sets variant name.
42+
* @param variant Variant name
43+
*/
4044
public void setVariant(String variant) {
4145
this.variant = variant;
4246
}

0 commit comments

Comments
 (0)