Class AbstractReleaserResource
java.lang.Object
fr.paris.lutece.plugins.releaser.business.AbstractReleaserResource
- All Implemented Interfaces:
IReleaserResource
AbstractReleaserResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddReleaseComment(String strReleaseComment) Sets the ReleaseCommentReturns the blocking release comment.Returns the last version of the parent POM, when newer than the declared one.Returns the artifactId of the parent POM declared on the branch.Returns the groupId of the parent POM declared on the branch.Returns the version of the parent POM declared on the branch.Returns the ReleaseCommentReturns the release comments listReturns the parent POM version chosen for the release.voidReset comments.voidsetBlockingReleaseComment(String strComment) Sets the blocking release comment and adds it to the displayed comments.voidsetLatestPomParentVersion(String strLatestPomParentVersion) Sets the last version of the parent POM.voidsetPomParentArtifactId(String strPomParentArtifactId) Sets the artifactId of the parent POM declared on the branch.voidsetPomParentGroupId(String strPomParentGroupId) Sets the groupId of the parent POM declared on the branch.voidsetPomParentVersion(String strPomParentVersion) Sets the version of the parent POM declared on the branch.voidsetTargetPomParentVersion(String strTargetPomParentVersion) Sets the parent POM version chosen for the release.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface fr.paris.lutece.plugins.releaser.business.IReleaserResource
getArtifactId, getScmUrl, getTargetVersion
-
Constructor Details
-
AbstractReleaserResource
public AbstractReleaserResource()
-
-
Method Details
-
getPomParentGroupId
Returns the groupId of the parent POM declared on the branch.- Returns:
- the parent groupId, null when unknown
-
setPomParentGroupId
Sets the groupId of the parent POM declared on the branch.- Parameters:
strPomParentGroupId- the parent groupId
-
getPomParentArtifactId
Returns the artifactId of the parent POM declared on the branch.- Returns:
- the parent artifactId, null when unknown
-
setPomParentArtifactId
Sets the artifactId of the parent POM declared on the branch.- Parameters:
strPomParentArtifactId- the parent artifactId
-
getPomParentVersion
Returns the version of the parent POM declared on the branch.- Returns:
- the parent version, null when unknown
-
setPomParentVersion
Sets the version of the parent POM declared on the branch.- Parameters:
strPomParentVersion- the parent version
-
getLatestPomParentVersion
Returns the last version of the parent POM, when newer than the declared one.- Returns:
- the proposed parent version, null when the declared one is up to date or unknown
-
setLatestPomParentVersion
Sets the last version of the parent POM.- Parameters:
strLatestPomParentVersion- the proposed parent version
-
getTargetPomParentVersion
Returns the parent POM version chosen for the release.- Returns:
- the chosen version, null to keep the declared one
-
setTargetPomParentVersion
Sets the parent POM version chosen for the release.- Parameters:
strTargetPomParentVersion- the chosen version, null to keep the declared one
-
getRepoType
- Specified by:
getRepoTypein interfaceIReleaserResource- Returns:
- repo type
-
getReleaseComments
Returns the release comments list- Returns:
- The release comments
-
getReleaseComment
Returns the ReleaseComment- Returns:
- The ReleaseComment
-
addReleaseComment
Sets the ReleaseComment- Parameters:
strReleaseComment- The ReleaseComment
-
resetComments
public void resetComments()Reset comments. The blocking comment, if any, is kept. -
setBlockingReleaseComment
Sets the blocking release comment and adds it to the displayed comments.- Parameters:
strComment- the blocking comment
-
getBlockingReleaseComment
Returns the blocking release comment.- Returns:
- the blocking comment, or null if none
-