java.lang.Object
com.atlassian.jira.testkit.client.RestApiClient<com.atlassian.jira.testkit.client.restclient.CommentClient>
com.atlassian.jira.testkit.client.restclient.CommentClient
com.atlassian.jira.webtests.ztests.bundledplugins2.rest.PinCommentClient

public class PinCommentClient extends com.atlassian.jira.testkit.client.restclient.CommentClient
Extension to CommentClient to include Pinning functionality
Since:
v9.7
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.atlassian.jira.testkit.client.RestApiClient

    com.atlassian.jira.testkit.client.RestApiClient.BackdoorLoggingFilter, com.atlassian.jira.testkit.client.RestApiClient.JsonMediaTypeFilter, com.atlassian.jira.testkit.client.RestApiClient.RestCall
  • Field Summary

    Fields inherited from class com.atlassian.jira.testkit.client.RestApiClient

    loginAs, loginPassword, REST_VERSION
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    PinCommentClient(com.atlassian.jira.testkit.client.JIRAEnvironmentData environmentData)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.atlassian.jira.testkit.client.restclient.ParsedResponse<List<com.atlassian.jira.testkit.client.restclient.Comment>>
     
    javax.ws.rs.core.Response
    pinComment(String issueKey, String commentID, boolean pinned)
     

    Methods inherited from class com.atlassian.jira.testkit.client.restclient.CommentClient

    commentWithID, delete, delete, get, get, getComments, getComments, getComments, getResponse, post, post, put, put

    Methods inherited from class com.atlassian.jira.testkit.client.RestApiClient

    anonymous, cleanUp, client, createResource, createResource, createResourceGadget, createResourceInternal, errorResponse, expanded, getEnvironmentData, loginAs, loginAs, percentEncode, registerResponse, resourceRoot, resourceRoot, setOf, toResponse, toResponse, toResponse

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PinCommentClient

      protected PinCommentClient(com.atlassian.jira.testkit.client.JIRAEnvironmentData environmentData)
  • Method Details

    • pinComment

      public javax.ws.rs.core.Response pinComment(String issueKey, String commentID, boolean pinned)
    • getPinnedComments

      public com.atlassian.jira.testkit.client.restclient.ParsedResponse<List<com.atlassian.jira.testkit.client.restclient.Comment>> getPinnedComments(String issueKey)