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 ReleaseCommentReturns the release comments listvoidReset comments.voidsetBlockingReleaseComment(String strComment) Sets the blocking release comment and adds it to the displayed comments.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
-
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
-