public class

IndexingControl

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

Class Overview

Backdoor control for indexing.

Summary

Nested Classes
class IndexingControl.IndexingProgress  
[Expand]
Inherited Constants
From class com.atlassian.jira.testkit.client.BackdoorControl
From class com.atlassian.jira.testkit.client.RestApiClient
[Expand]
Inherited Fields
From class com.atlassian.jira.testkit.client.BackdoorControl
From class com.atlassian.jira.testkit.client.RestApiClient
Public Constructors
IndexingControl(JIRAEnvironmentData environmentData)
Public Methods
Long clearPendingReindexRequests()
void deindex(String issueKey)
void deleteIndex()
@Nonnull IndexingControl.IndexingProgress getInBackgroundProgress()
@Nullable Boolean getIndexingTaskProgress(String taskId)
@Nonnull IndexingControl.IndexingProgress getProjectIndexingProgress(Long projectId)
void indexDummyIssue(long id, long projectId, String issueType, String issueKey, String summary, String desc)
boolean isIndexConsistent()
boolean isIndexUpdatedFieldConsistent()
Long makeReindexRequest(ReindexRequestType type, String query, SharedEntityType... sharedEntityTypes)
void pauseScheduledReindex()
Pause the scheduled reindex
void reindexAll()
@Nonnull IndexingControl.IndexingProgress startInBackground()
@Nonnull IndexingControl.IndexingProgress startInBackground(IssueIndexingParams issueIndexingParams)
void startScheduledReindex()
Start the scheduled reindex
@Nonnull IndexingControl.IndexingProgress startStopTheWorldReIndex()
Initiate a stop-the-world foreground re-index
[Expand]
Inherited Methods
From class com.atlassian.jira.functest.framework.backdoor.BackdoorControl
From class com.atlassian.jira.testkit.client.BackdoorControl
From class com.atlassian.jira.testkit.client.RestApiClient
From class java.lang.Object

Public Constructors

public IndexingControl (JIRAEnvironmentData environmentData)

Public Methods

public Long clearPendingReindexRequests ()

public void deindex (String issueKey)

public void deleteIndex ()

@Nonnull public IndexingControl.IndexingProgress getInBackgroundProgress ()

@Nullable public Boolean getIndexingTaskProgress (String taskId)

@Nonnull public IndexingControl.IndexingProgress getProjectIndexingProgress (Long projectId)

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

public boolean isIndexConsistent ()

public boolean isIndexUpdatedFieldConsistent ()

public Long makeReindexRequest (ReindexRequestType type, String query, SharedEntityType... sharedEntityTypes)

public void pauseScheduledReindex ()

Pause the scheduled reindex

public void reindexAll ()

@Nonnull public IndexingControl.IndexingProgress startInBackground ()

@Nonnull public IndexingControl.IndexingProgress startInBackground (IssueIndexingParams issueIndexingParams)

public void startScheduledReindex ()

Start the scheduled reindex

@Nonnull public IndexingControl.IndexingProgress startStopTheWorldReIndex ()

Initiate a stop-the-world foreground re-index

Returns
  • a progress monitor