Class CommentResource


  • @Path("/comments")
    @Consumes("application/json")
    @Produces("application/json")
    @Controller
    public class CommentResource
    extends java.lang.Object
    The comments of a task.
    • Constructor Detail

      • CommentResource

        @Autowired
        public CommentResource​(CommentService commentService,
                               com.xebialabs.xlrelease.repository.TaskRepository taskRepository,
                               com.xebialabs.xlrelease.security.PermissionChecker permissions,
                               CommentViewConverter commentViewConverter)
    • Method Detail

      • updateComment

        @PUT
        @Timed
        @Path("{commentId}")
        public CommentView updateComment​(@PathParam("commentId")
                                         java.lang.String commentId,
                                         CommentView commentView)
      • deleteComment

        @DELETE
        @Timed
        @Path("{commentId}")
        public void deleteComment​(@PathParam("commentId")
                                  java.lang.String commentId,
                                  CommentView commentView)