org.apache.jackrabbit.core.query.lucene
Class ConsistencyCheckError

java.lang.Object
  extended by org.apache.jackrabbit.core.query.lucene.ConsistencyCheckError

public abstract class ConsistencyCheckError
extends Object

Common base class for errors detected during the consistency check.


Field Summary
protected  NodeId id
          The id of the affected node.
protected  String message
          Diagnostic message for this error.
 
Method Summary
abstract  boolean repairable()
          Returns true if this error can be repaired.
 String toString()
          Returns the diagnostic message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

message

protected final String message
Diagnostic message for this error.


id

protected final NodeId id
The id of the affected node.

Method Detail

toString

public String toString()
Returns the diagnostic message.

Overrides:
toString in class Object
Returns:
the diagnostic message.

repairable

public abstract boolean repairable()
Returns true if this error can be repaired.

Returns:
true if this error can be repaired.


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.