public class MockIndexingConfiguration extends Object implements IndexingConfiguration
IndexingConfiguration.PropertiesAdapter
Constructor and Description |
---|
MockIndexingConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
disableIndex() |
void |
enableIndex() |
int |
getDisabledCount() |
int |
getEnabledCount() |
int |
getIndexLockWaitTime() |
int |
getIssuesToForceOptimize() |
int |
getMaxReindexes() |
boolean |
isIndexAvailable() |
MockIndexingConfiguration |
issuesToForceOptimize(int issuesToForceOptimize) |
MockIndexingConfiguration |
maxReindexes(int maxReindexes) |
public void disableIndex()
disableIndex
in interface IndexingConfiguration
public void enableIndex()
enableIndex
in interface IndexingConfiguration
public int getIndexLockWaitTime()
getIndexLockWaitTime
in interface IndexingConfiguration
public int getIssuesToForceOptimize()
getIssuesToForceOptimize
in interface IndexingConfiguration
public MockIndexingConfiguration issuesToForceOptimize(int issuesToForceOptimize)
public int getMaxReindexes()
getMaxReindexes
in interface IndexingConfiguration
public MockIndexingConfiguration maxReindexes(int maxReindexes)
public boolean isIndexAvailable()
isIndexAvailable
in interface IndexingConfiguration
public int getDisabledCount()
public int getEnabledCount()
Copyright © 2002-2021 Atlassian. All Rights Reserved.