@@ -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 () {
0 commit comments