Class CommentResource
- java.lang.Object
-
- com.xebialabs.xlrelease.api.internal.CommentResource
-
@Path("/comments") @Consumes("application/json") @Produces("application/json") @Controller public class CommentResource extends java.lang.ObjectThe comments of a task.
-
-
Constructor Summary
Constructors Constructor Description CommentResource(CommentService commentService, com.xebialabs.xlrelease.repository.TaskRepository taskRepository, com.xebialabs.xlrelease.security.PermissionChecker permissions, CommentViewConverter commentViewConverter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteComment(java.lang.String commentId, CommentView commentView)CommentViewupdateComment(java.lang.String commentId, CommentView commentView)
-
-
-
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)
-
-