public class DatabaseMaintenanceControl extends BackdoorControl<DatabaseMaintenanceControl>
Modifier and Type | Class and Description |
---|---|
static class |
DatabaseMaintenanceControl.CreateIndexBean |
static class |
DatabaseMaintenanceControl.IndexMetadata |
Constructor and Description |
---|
DatabaseMaintenanceControl(com.atlassian.jira.testkit.client.JIRAEnvironmentData environmentData) |
Modifier and Type | Method and Description |
---|---|
void |
createIndex(String entityName,
String tableName,
String indexName,
boolean unique,
com.google.common.collect.ImmutableMap<String,String> fieldNameToColumnName) |
protected com.sun.jersey.api.client.WebResource |
createIndexesResource() |
void |
dropIndex(String tableName,
String indexName) |
List<DatabaseMaintenanceControl.IndexMetadata> |
getIndexMetadata(String tableName) |
createResource
createResourceForPath, createResourceForPath, get, getRestModulePath
anonymous, cleanUp, client, createResourceGadget, createResourceInternal, errorResponse, expanded, getEnvironmentData, loginAs, loginAs, percentEncode, registerResponse, resourceRoot, setOf, toResponse, toResponse, toResponse
public DatabaseMaintenanceControl(com.atlassian.jira.testkit.client.JIRAEnvironmentData environmentData)
public List<DatabaseMaintenanceControl.IndexMetadata> getIndexMetadata(String tableName)
public void createIndex(String entityName, String tableName, String indexName, boolean unique, com.google.common.collect.ImmutableMap<String,String> fieldNameToColumnName)
protected com.sun.jersey.api.client.WebResource createIndexesResource()
Copyright © 2002-2023 Atlassian. All Rights Reserved.