Class OrphanIssueControl<T extends com.atlassian.jira.testkit.client.BackdoorControl<T>>

java.lang.Object
com.atlassian.jira.testkit.client.RestApiClient<T>
com.atlassian.jira.testkit.client.BackdoorControl<T>
com.atlassian.jira.plugins.ha.testapi.client.OrphanIssueControl<T>

public class OrphanIssueControl<T extends com.atlassian.jira.testkit.client.BackdoorControl<T>> extends com.atlassian.jira.testkit.client.BackdoorControl<T>
Backdoor for creating orphan issues.
Since:
v1.0
  • 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.BackdoorControl

    API_REST_PATH, API_REST_VERSION, DEFAULT_REST_PATH, logger, rootPath

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

    loginAs, loginPassword, REST_VERSION
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    createOrphanIssue(Long issueId, Long nonExistingProjectId)
     
    void
     
    protected String
     

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

    createResource, createResourceForPath, createResourceForPath, get

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

    anonymous, cleanUp, client, 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

    • OrphanIssueControl

      public OrphanIssueControl(com.atlassian.jira.testkit.client.JIRAEnvironmentData environmentData)
  • Method Details

    • getRestModulePath

      protected String getRestModulePath()
      Overrides:
      getRestModulePath in class com.atlassian.jira.testkit.client.BackdoorControl<T extends com.atlassian.jira.testkit.client.BackdoorControl<T>>
    • createOrphanIssue

      public String createOrphanIssue(Long issueId, Long nonExistingProjectId)
    • deleteOrphanIssue

      public void deleteOrphanIssue(Long issueId)