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 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 @Path("{commentId}") public CommentView updateComment(@PathParam("commentId") String commentId, CommentView commentView)
    • deleteComment

      @DELETE @Path("{commentId}") public void deleteComment(@PathParam("commentId") String commentId, CommentView commentView)