Class CommentResource
java.lang.Object
com.xebialabs.xlrelease.api.internal.CommentResource
@Path("/comments")
@Consumes("application/json")
@Produces("application/json")
@Controller
public class CommentResource
extends Object
The comments of a task.
-
Constructor Summary
ConstructorsConstructorDescriptionCommentResource(CommentService commentService, com.xebialabs.xlrelease.repository.TaskRepository taskRepository, com.xebialabs.xlrelease.security.PermissionChecker permissions, CommentViewConverter commentViewConverter) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteComment(String commentId, CommentView commentView) updateComment(String commentId, CommentView commentView)
-
Constructor Details
-
CommentResource
@Autowired public CommentResource(CommentService commentService, com.xebialabs.xlrelease.repository.TaskRepository taskRepository, com.xebialabs.xlrelease.security.PermissionChecker permissions, CommentViewConverter commentViewConverter)
-
-
Method Details
-
updateComment
@PUT @Timed @Path("{commentId}") public CommentView updateComment(@PathParam("commentId") String commentId, CommentView commentView) -
deleteComment
@DELETE @Timed @Path("{commentId}") public void deleteComment(@PathParam("commentId") String commentId, CommentView commentView)
-