Class ServerControl

java.lang.Object
com.atlassian.jira.testkit.client.RestApiClient<T>
com.atlassian.jira.testkit.client.BackdoorControl<T>
com.atlassian.jira.functest.framework.backdoor.BackdoorControl<ServerControl>
com.atlassian.jira.functest.framework.backdoor.ServerControl

public class ServerControl extends BackdoorControl<ServerControl>
System-level control.
Since:
v7.3
  • 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

    REST_VERSION
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    void
     
    void
     
     
    void
    Kill the server, an unclean shutdown.
    void
    recordLogs(boolean enable)
     
    void
    setLogLevel(String logger, org.apache.log4j.Level level)
     

    Methods inherited from class com.atlassian.jira.functest.framework.backdoor.BackdoorControl

    createResource

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

    createResourceForPath, createResourceForPath, get, getRestModulePath

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

    anonymous, authenticate, authoriseWithOAuth2, authoriseWithOAuth2, cleanUp, client, createResource, createResourceGadget, createResourceInternal, errorResponse, expanded, getCredentialsProvider, getEnvironmentData, loginAs, loginAs, registerResponse, resourceRoot, resourceRoot, setOf, toResponse, toResponse, toResponse, withCredentialsProvider

    Methods inherited from class java.lang.Object

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

    • ServerControl

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

    • kill

      public void kill()
      Kill the server, an unclean shutdown.
    • dumpThreads

      public void dumpThreads()
    • recordLogs

      public void recordLogs(boolean enable)
    • getLogs

      public String getLogs()
    • addConsoleAppender

      public void addConsoleAppender(String loggerName)
    • setLogLevel

      public void setLogLevel(String logger, org.apache.log4j.Level level)
      Since:
      v7.4