Class BitbucketCloudCommentsProvider
java.lang.Object
se.bjurr.violations.comments.bitbucketcloud.lib.BitbucketCloudCommentsProvider
- All Implemented Interfaces:
se.bjurr.violations.comments.lib.CommentsProvider
public class BitbucketCloudCommentsProvider
extends Object
implements se.bjurr.violations.comments.lib.CommentsProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateComment(String commentString) voidcreateSingleFileComment(se.bjurr.violations.comments.lib.model.ChangedFile file, Integer lineInFile, String commentString) List<se.bjurr.violations.comments.lib.model.Comment>List<se.bjurr.violations.comments.lib.model.ChangedFile>getFiles()static List<se.bjurr.bitbucketcloud.gen.model.Comment>getOrderedComments(Set<se.bjurr.bitbucketcloud.gen.model.Comment> values) static List<se.bjurr.bitbucketcloud.gen.model.Commit>getOrderedCommits(Set<se.bjurr.bitbucketcloud.gen.model.Commit> values) voidremoveComments(List<se.bjurr.violations.comments.lib.model.Comment> comments) booleanshouldComment(se.bjurr.violations.comments.lib.model.ChangedFile changedFile, Integer line) booleanbooleanbooleanboolean
-
Constructor Details
-
BitbucketCloudCommentsProvider
-
-
Method Details
-
createComment
- Specified by:
createCommentin interfacese.bjurr.violations.comments.lib.CommentsProvider
-
createSingleFileComment
public void createSingleFileComment(se.bjurr.violations.comments.lib.model.ChangedFile file, Integer lineInFile, String commentString) - Specified by:
createSingleFileCommentin interfacese.bjurr.violations.comments.lib.CommentsProvider
-
getComments
- Specified by:
getCommentsin interfacese.bjurr.violations.comments.lib.CommentsProvider
-
getFiles
- Specified by:
getFilesin interfacese.bjurr.violations.comments.lib.CommentsProvider
-
removeComments
- Specified by:
removeCommentsin interfacese.bjurr.violations.comments.lib.CommentsProvider
-
shouldComment
public boolean shouldComment(se.bjurr.violations.comments.lib.model.ChangedFile changedFile, Integer line) - Specified by:
shouldCommentin interfacese.bjurr.violations.comments.lib.CommentsProvider
-
shouldCreateCommentWithAllSingleFileComments
public boolean shouldCreateCommentWithAllSingleFileComments()- Specified by:
shouldCreateCommentWithAllSingleFileCommentsin interfacese.bjurr.violations.comments.lib.CommentsProvider
-
shouldCreateSingleFileComment
public boolean shouldCreateSingleFileComment()- Specified by:
shouldCreateSingleFileCommentin interfacese.bjurr.violations.comments.lib.CommentsProvider
-
shouldKeepOldComments
public boolean shouldKeepOldComments()- Specified by:
shouldKeepOldCommentsin interfacese.bjurr.violations.comments.lib.CommentsProvider
-
findCommentTemplate
- Specified by:
findCommentTemplatein interfacese.bjurr.violations.comments.lib.CommentsProvider
-
getMaxNumberOfViolations
- Specified by:
getMaxNumberOfViolationsin interfacese.bjurr.violations.comments.lib.CommentsProvider
-
getMaxCommentSize
- Specified by:
getMaxCommentSizein interfacese.bjurr.violations.comments.lib.CommentsProvider
-
shouldCommentOnlyChangedFiles
public boolean shouldCommentOnlyChangedFiles()- Specified by:
shouldCommentOnlyChangedFilesin interfacese.bjurr.violations.comments.lib.CommentsProvider
-
getOrderedComments
-
getOrderedCommits
-