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

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

public class RepositoryUpdateResult
extends java.lang.Object

Result of modifying a repository, indicating whether a restart and/or reindex is requried for the changes to take effect.


Constructor Summary
RepositoryUpdateResult(boolean restart, boolean reindex)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 boolean isReindexRequired()
          Whether a full reindex of the repository is required.
 boolean isRestartRequired()
          Whether a repository restart is required.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepositoryUpdateResult

public RepositoryUpdateResult(boolean restart,
                              boolean reindex)
Method Detail

isRestartRequired

public boolean isRestartRequired()
Whether a repository restart is required.


isReindexRequired

public boolean isReindexRequired()
Whether a full reindex of the repository is required.

A full reindex also restarts the repository.


equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object