com.atlassian.fisheye.spi.admin.data
Class RepositoryIndexingStatus

java.lang.Object
  extended by com.atlassian.fisheye.spi.admin.data.RepositoryIndexingStatus

public class RepositoryIndexingStatus
extends java.lang.Object

A snapshot of the status of a repository's indexer. Use RepositoryIndexer.getIndexingStatus() to get newer snapshots of the indexing status.


Nested Class Summary
static class RepositoryIndexingStatus.Builder
           
 
Method Summary
 java.util.Date getLastScanTime()
          The time the last scan of the repository completed.
 java.lang.String getMessage()
          Human readable status/error message.
 boolean hasError()
          Whether there are any errors with the indexing.
 boolean isFullIndexingInProgress()
           
 boolean isIncrementalIndexingInProgress()
           
 boolean isLinesOfContentIndexingInProgress()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLastScanTime

public java.util.Date getLastScanTime()
The time the last scan of the repository completed. Null if a repository has not completed a scan since being started.

Returns:
when the last scan of the repository was completed

isFullIndexingInProgress

public boolean isFullIndexingInProgress()

isIncrementalIndexingInProgress

public boolean isIncrementalIndexingInProgress()

isLinesOfContentIndexingInProgress

public boolean isLinesOfContentIndexingInProgress()

hasError

public boolean hasError()
Whether there are any errors with the indexing. Use getMessage() to retrieve a description of the error if this is the case.

Returns:
true if there is any error with the indexing, false otherwise

getMessage

public java.lang.String getMessage()
Human readable status/error message.

The message is descriptive and subject to change.

Returns:
description of the status or error