public interface

RepositoryIndexer

com.atlassian.fisheye.spi.admin.services.RepositoryIndexer
Known Indirect Subclasses

Class Overview

An interface to the indexing actions on a repository. This object is valid only for the lifetime of the repository. If the repository does not exist after the creation of the RepositoryIndexer, all methods of this interface (and sub-interfaces) will throw IllegalStateException.

All methods that perform indexing are non-blocking. Indexing is performed as a background task and progress can be monitored via getIndexingStatus().

Summary

Public Methods
abstract RepositoryIndexingStatus getIndexingStatus()
Returns a snapshot of the status of the indexer.
abstract RepositoryIndexingStatus startFullReindexing()
Delete all the existing indexes for the repository, and start the repository (which will cause the initial full index to start).
abstract RepositoryIndexingStatus startIncrementalIndexing()
Perform an incremental indexing, or, if the repository has not yet been indexed, performs a full indexing.
abstract RepositoryIndexingStatus startLineCountReindexing()
Reindex the data used to generate lines of code (LOC) charts.

Public Methods

public abstract RepositoryIndexingStatus getIndexingStatus ()

Returns a snapshot of the status of the indexer.

public abstract RepositoryIndexingStatus startFullReindexing ()

Delete all the existing indexes for the repository, and start the repository (which will cause the initial full index to start).

Throws
IllegalStateException if the repository is not STOPPED
RepositoryConfigException if there was a problem restarting the repository

public abstract RepositoryIndexingStatus startIncrementalIndexing ()

Perform an incremental indexing, or, if the repository has not yet been indexed, performs a full indexing.

public abstract RepositoryIndexingStatus startLineCountReindexing ()

Reindex the data used to generate lines of code (LOC) charts.