Class DatabaseMaintenanceControl

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

public class DatabaseMaintenanceControl extends BackdoorControl<DatabaseMaintenanceControl>
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     

    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
    DatabaseMaintenanceControl(com.atlassian.jira.testkit.client.JIRAEnvironmentData environmentData)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    createIndex(String entityName, String tableName, String indexName, boolean unique, com.google.common.collect.ImmutableMap<String,String> fieldNameToColumnName)
     
    protected javax.ws.rs.client.WebTarget
     
    void
    dropIndex(String tableName, String indexName)
     
     

    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, 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

    • DatabaseMaintenanceControl

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

    • getIndexMetadata

      public List<DatabaseMaintenanceControl.IndexMetadata> getIndexMetadata(String tableName)
    • createIndex

      public void createIndex(String entityName, String tableName, String indexName, boolean unique, com.google.common.collect.ImmutableMap<String,String> fieldNameToColumnName)
    • dropIndex

      public void dropIndex(String tableName, String indexName)
    • createIndexesResource

      protected javax.ws.rs.client.WebTarget createIndexesResource()