com.atlassian.jira.functest.framework.backdoor
Class IndexingControl

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

public class IndexingControl
extends BackdoorControl<IndexingControl>

Backdoor control for indexing.

Since:
v5.2

Nested Class Summary
 class IndexingControl.IndexingProgress
           
 
Nested classes/interfaces inherited from class com.atlassian.jira.testkit.client.BackdoorControl
com.atlassian.jira.testkit.client.BackdoorControl.BackdoorLoggingFilter, com.atlassian.jira.testkit.client.BackdoorControl.JsonMediaTypeFilter
 
Nested classes/interfaces inherited from class com.atlassian.jira.testkit.client.RestApiClient
com.atlassian.jira.testkit.client.RestApiClient.Method
 
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
IndexingControl(JIRAEnvironmentData environmentData)
           
 
Method Summary
 void deindex(String issueKey)
           
 void deleteIndex()
           
 IndexingControl.IndexingProgress getInBackgroundProgress()
           
 IndexingControl.IndexingProgress getProjectIndexingProgress(Long projectId)
           
 void indexDummyIssue(long id, long projectId, String issueType, String issueKey, String summary, String desc)
           
 boolean isIndexConsistent()
           
 boolean isIndexUpdatedFieldConsistent()
           
 void reindexAll()
           
 IndexingControl.IndexingProgress startInBackground()
           
 IndexingControl.IndexingProgress startInBackground(boolean reindexComments, boolean reindexChangeHistory)
           
 
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, createResourceGadget, createResourceInternal, errorResponse, expanded, loginAs, loginAs, percentEncode, resourceRoot, setOf, toResponse, toResponse, toResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexingControl

public IndexingControl(JIRAEnvironmentData environmentData)
Method Detail

startInBackground

@Nonnull
public IndexingControl.IndexingProgress startInBackground()

startInBackground

@Nonnull
public IndexingControl.IndexingProgress startInBackground(boolean reindexComments,
                                                                  boolean reindexChangeHistory)

getInBackgroundProgress

@Nonnull
public IndexingControl.IndexingProgress getInBackgroundProgress()

getProjectIndexingProgress

@Nonnull
public IndexingControl.IndexingProgress getProjectIndexingProgress(Long projectId)

isIndexConsistent

public boolean isIndexConsistent()

isIndexUpdatedFieldConsistent

public boolean isIndexUpdatedFieldConsistent()

deleteIndex

public void deleteIndex()

deindex

public void deindex(String issueKey)

indexDummyIssue

public void indexDummyIssue(long id,
                            long projectId,
                            String issueType,
                            String issueKey,
                            String summary,
                            String desc)

reindexAll

public void reindexAll()


Copyright © 2002-2014 Atlassian. All Rights Reserved.