Skip to content

Commit fce02a7

Browse files
HarshMehta112slawekjaranowski
authored andcommitted
[DOCS] Update Javadoc return tags in ReleaseDescriptor.java
Signed-off-by: Harsh Mehta <harshmehta010102@gmail.com>
1 parent 5106eb1 commit fce02a7

1 file changed

Lines changed: 43 additions & 43 deletions

File tree

maven-release-api/src/main/java/org/apache/maven/shared/release/config/ReleaseDescriptor.java

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -31,64 +31,64 @@ public interface ReleaseDescriptor {
3131
/**
3232
* Get if updateDependencies is false, dependencies version won't be updated to the next development version.
3333
*
34-
* @return boolean
34+
* @return {@code true} if dependencies should be updated to the next development version, {@code false} otherwise
3535
*/
3636
boolean isUpdateDependencies();
3737

3838
/**
3939
* Get whether to use the release profile that adds sources and javadocs to the released artifact, if appropriate.
4040
* If set to true, this will set the property "performRelease" to true.
4141
*
42-
* @return boolean
42+
* @return {@code true} if the release profile should be used, {@code false} otherwise
4343
*/
4444
boolean isUseReleaseProfile();
4545

4646
/**
4747
* Get whether to use the parent pom version for submodule versions.
4848
*
49-
* @return boolean
49+
* @return {@code true} if parent pom version should be used for submodules, {@code false} otherwise
5050
*/
5151
boolean isAutoVersionSubmodules();
5252

5353
/**
5454
* Get whether a SNAPSHOT of the release plugin is allowed.
5555
*
56-
* @return boolean
56+
* @return {@code true} if SNAPSHOT release plugin is allowed, {@code false} otherwise
5757
*/
5858
boolean isSnapshotReleasePluginAllowed();
5959

6060
/**
6161
* Get the commits must be done by modules or not. Set it to true in case of flat directory structure.
6262
*
63-
* @return boolean
63+
* @return {@code true} if commits should be done by project, {@code false} otherwise
6464
*/
6565
boolean isCommitByProject();
6666

6767
/**
6868
* Get whether to create a branch instead of do a release.
6969
*
70-
* @return boolean
70+
* @return {@code true} if a branch should be created instead of a release, {@code false} otherwise
7171
*/
7272
boolean isBranchCreation();
7373

7474
/**
7575
* Get whether to update branch POM versions.
7676
*
77-
* @return boolean
77+
* @return {@code true} if branch POM versions should be updated, {@code false} otherwise
7878
*/
7979
boolean isUpdateBranchVersions();
8080

8181
/**
8282
* Get whether to update working copy POM versions.
8383
*
84-
* @return boolean
84+
* @return {@code true} if working copy POM versions should be updated, {@code false} otherwise
8585
*/
8686
boolean isUpdateWorkingCopyVersions();
8787

8888
/**
8989
* Get whether to suppress a commit of changes to the working copy before a tag or branch is created.
9090
*
91-
* @return boolean
91+
* @return {@code true} if commit should be suppressed before tag or branch creation, {@code false} otherwise
9292
*/
9393
boolean isSuppressCommitBeforeTagOrBranch();
9494

@@ -103,7 +103,7 @@ public interface ReleaseDescriptor {
103103
/**
104104
* Get whether to update branch versions to SNAPSHOT.
105105
*
106-
* @return boolean
106+
* @return {@code true} if branch versions should be updated to SNAPSHOT, {@code false} otherwise
107107
*/
108108
boolean isUpdateVersionsToSnapshot();
109109

@@ -154,35 +154,35 @@ public interface ReleaseDescriptor {
154154
/**
155155
* Get default version to use for new working copy.
156156
*
157-
* @return string
157+
* @return the default development version
158158
*/
159159
String getDefaultDevelopmentVersion();
160160

161161
/**
162162
* Get relative path of the project returned by the checkout command.
163163
*
164-
* @return string
164+
* @return the relative path of the project directory
165165
*/
166166
String getScmRelativePathProjectDirectory();
167167

168168
/**
169169
* Get the directory where the tag will be checked out.
170170
*
171-
* @return string
171+
* @return the checkout directory path
172172
*/
173173
String getCheckoutDirectory();
174174

175175
/**
176176
* Get the goals to execute in perform phase for the release.
177177
*
178-
* @return string
178+
* @return the perform goals
179179
*/
180180
String getPerformGoals();
181181

182182
/**
183183
* Get default version to use for the tagged release or the new branch.
184184
*
185-
* @return string
185+
* @return the default release version
186186
*/
187187
String getDefaultReleaseVersion();
188188

@@ -205,7 +205,7 @@ public interface ReleaseDescriptor {
205205
/**
206206
* Get whether to generate release POMs.
207207
*
208-
* @return boolean
208+
* @return {@code true} if release POMs should be generated, {@code false} otherwise
209209
*/
210210
boolean isGenerateReleasePoms();
211211

@@ -235,49 +235,49 @@ public interface ReleaseDescriptor {
235235
/**
236236
* Get the last completed phase.
237237
*
238-
* @return string
238+
* @return the name of the last completed phase
239239
*/
240240
String getCompletedPhase();
241241

242242
/**
243243
* Method getCheckModificationExcludes.
244244
*
245-
* @return list
245+
* @return list of file patterns to exclude from modification checks
246246
*/
247247
List<String> getCheckModificationExcludes();
248248

249249
/**
250250
* Get additional arguments to pass to any executed Maven process.
251251
*
252-
* @return string
252+
* @return the additional Maven arguments
253253
*/
254254
String getAdditionalArguments();
255255

256256
/**
257257
* Get the goals to execute in preparation for the release.
258258
*
259-
* @return string
259+
* @return the preparation goals
260260
*/
261261
String getPreparationGoals();
262262

263263
/**
264264
* Get the goals to execute in on completion of preparation for the release.
265265
*
266-
* @return string
266+
* @return the completion goals
267267
*/
268268
String getCompletionGoals();
269269

270270
/**
271271
* Get the file name of the POM to pass to any executed Maven process.
272272
*
273-
* @return string
273+
* @return the POM file name
274274
*/
275275
String getPomFileName();
276276

277277
/**
278278
* Get the prefix of SCM modification messages.
279279
*
280-
* @return string
280+
* @return the SCM comment prefix
281281
*/
282282
String getScmCommentPrefix();
283283

@@ -293,67 +293,67 @@ public interface ReleaseDescriptor {
293293
/**
294294
* Get the SCM commit comment when setting pom.xml to release.
295295
*
296-
* @return string
296+
* @return the SCM release commit comment
297297
* @since 3.0.0-M1
298298
*/
299299
String getScmReleaseCommitComment();
300300

301301
/**
302302
* Get the SCM commit comment when setting pom.xml back to development.
303303
*
304-
* @return string
304+
* @return the SCM development commit comment
305305
* @since 3.0.0-M1
306306
*/
307307
String getScmDevelopmentCommitComment();
308308

309309
/**
310310
* Get the SCM commit comment when branching.
311311
*
312-
* @return string
312+
* @return the SCM branch commit comment
313313
* @since 3.0.0-M1
314314
*/
315315
String getScmBranchCommitComment();
316316

317317
/**
318318
* Get the SCM commit comment when rolling back.
319319
*
320-
* @return string
320+
* @return the SCM rollback commit comment
321321
* @since 3.0.0-M1
322322
*/
323323
String getScmRollbackCommitComment();
324324

325325
/**
326326
* Get pass phrase for the private key.
327327
*
328-
* @return string
328+
* @return the private key passphrase
329329
*/
330330
String getScmPrivateKeyPassPhrase();
331331

332332
/**
333333
* Get the password for the user interacting with the scm.
334334
*
335-
* @return string
335+
* @return the SCM password
336336
*/
337337
String getScmPassword();
338338

339339
/**
340340
* Get private key for an SSH based SCM repository.
341341
*
342-
* @return string
342+
* @return the private key path or content
343343
*/
344344
String getScmPrivateKey();
345345

346346
/**
347347
* Get tag or branch name: the identifier for the tag/branch. Example: maven-release-plugin-2.0.
348348
*
349-
* @return string
349+
* @return the SCM release label (tag or branch name)
350350
*/
351351
String getScmReleaseLabel();
352352

353353
/**
354354
* Get where you are going to put your tagged sources Example https://svn.apache.org/repos/asf/maven/plugins/tags.
355355
*
356-
* @return string
356+
* @return the SCM tag base URL
357357
*/
358358
String getScmTagBase();
359359

@@ -385,21 +385,21 @@ public interface ReleaseDescriptor {
385385
/**
386386
* Get the user name to interact with the scm.
387387
*
388-
* @return string
388+
* @return the SCM username
389389
*/
390390
String getScmUsername();
391391

392392
/**
393393
* Get wait the specified number of seconds before creating a tag.
394394
*
395-
* @return int
395+
* @return the number of seconds to wait before tagging
396396
*/
397397
int getWaitBeforeTagging();
398398

399399
/**
400400
* Get the directory where the release is performed.
401401
*
402-
* @return string
402+
* @return the working directory path
403403
*/
404404
String getWorkingDirectory();
405405

@@ -414,14 +414,14 @@ public interface ReleaseDescriptor {
414414
/**
415415
* Get the role-hint for the NamingPolicy implementation used to calculate the project branch and tag names.
416416
*
417-
* @return string
417+
* @return the project naming policy ID
418418
*/
419419
String getProjectNamingPolicyId();
420420

421421
/**
422422
* Get the role-hint for the VersionPolicy implementation used to calculate the project versions.
423423
*
424-
* @return string
424+
* @return the project version policy ID
425425
*/
426426
String getProjectVersionPolicyId();
427427

@@ -435,7 +435,7 @@ public interface ReleaseDescriptor {
435435
/**
436436
* Get the role-hint for the release Strategy implementation.
437437
*
438-
* @return string
438+
* @return the release strategy ID
439439
*/
440440
String getReleaseStrategyId();
441441

@@ -467,23 +467,23 @@ public interface ReleaseDescriptor {
467467
* <p>getProjectOriginalVersion.</p>
468468
*
469469
* @param projectKey a {@link java.lang.String} object
470-
* @return a {@link java.lang.String} object
470+
* @return the original version of the project
471471
*/
472472
String getProjectOriginalVersion(String projectKey);
473473

474474
/**
475475
* <p>getProjectDevelopmentVersion.</p>
476476
*
477477
* @param projectKey a {@link java.lang.String} object
478-
* @return a {@link java.lang.String} object
478+
* @return the development version of the project
479479
*/
480480
String getProjectDevelopmentVersion(String projectKey);
481481

482482
/**
483483
* <p>getProjectReleaseVersion.</p>
484484
*
485485
* @param key a {@link java.lang.String} object
486-
* @return a {@link java.lang.String} object
486+
* @return the release version of the project
487487
*/
488488
String getProjectReleaseVersion(String key);
489489

@@ -592,15 +592,15 @@ public interface ReleaseDescriptor {
592592
/**
593593
* Get the line separator to use in the pom.xml.
594594
*
595-
* @return string
595+
* @return the line separator character(s)
596596
*/
597597
String getLineSeparator();
598598

599599
/**
600600
* Determines whether the {@code --pin-externals} option in {@code svn copy} command is enabled
601601
* which is new in Subversion 1.9.
602602
*
603-
* @return boolean
603+
* @return {@code true} if externals should be pinned, {@code false} otherwise
604604
*/
605605
boolean isPinExternals();
606606
}

0 commit comments

Comments
 (0)