Package com.xebialabs.xlrelease.service
Class CommentService
java.lang.Object
com.xebialabs.xlrelease.service.CommentService
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCommentService(com.xebialabs.xlrelease.service.CiIdService ciIdService, XLReleaseEventBus eventBus, com.xebialabs.xlrelease.repository.CommentRepository commentRepository, com.xebialabs.xlrelease.repository.TaskRepository taskRepository) -
Method Summary
Modifier and TypeMethodDescriptionappendComment(com.xebialabs.xlrelease.domain.Task task, String commentId, String commentText) com.xebialabs.xlrelease.domain.CommentbuildComment(com.xebialabs.xlrelease.domain.Task task, String commentText, String author, Date creationDate, String prefix, String suffix) com.xebialabs.xlrelease.domain.Commentcreate(com.xebialabs.xlrelease.domain.Task task, com.xebialabs.xlrelease.domain.Comment comment) com.xebialabs.xlrelease.domain.Commentcreate(com.xebialabs.xlrelease.domain.Task task, String text, com.xebialabs.xlrelease.user.User author, boolean notify) com.xebialabs.xlrelease.domain.Commentcom.xebialabs.xlrelease.domain.Commentvoiddecorate(com.xebialabs.xlrelease.domain.Task task) voidList<com.xebialabs.xlrelease.domain.Comment>findByTask(String taskId) com.xebialabs.xlrelease.domain.Comment
-
Field Details
-
COMMENT_PREFIX_SCRIPT
-
COMMENT_PREFIX_MANUAL
-
COMMENT_SUFFIX
-
-
Constructor Details
-
CommentService
@Autowired public CommentService(com.xebialabs.xlrelease.service.CiIdService ciIdService, XLReleaseEventBus eventBus, com.xebialabs.xlrelease.repository.CommentRepository commentRepository, com.xebialabs.xlrelease.repository.TaskRepository taskRepository)
-
-
Method Details
-
create
public com.xebialabs.xlrelease.domain.Comment create(com.xebialabs.xlrelease.domain.Task task, com.xebialabs.xlrelease.domain.Comment comment) -
create
public com.xebialabs.xlrelease.domain.Comment create(String taskId, com.xebialabs.xlrelease.domain.Comment comment) -
create
-
create
public com.xebialabs.xlrelease.domain.Comment create(com.xebialabs.xlrelease.domain.Task task, String text, com.xebialabs.xlrelease.user.User author, boolean notify) -
update
-
appendComment
-
buildComment
-
decorate
public void decorate(com.xebialabs.xlrelease.domain.Task task) -
findByTask
-
delete
-