Class ReportItemImpl
- java.lang.Object
-
- org.apache.jackrabbit.core.persistence.check.ReportItemImpl
-
- All Implemented Interfaces:
ReportItem
public class ReportItemImpl extends Object implements ReportItem
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.jackrabbit.core.persistence.check.ReportItem
ReportItem.Type
-
-
Constructor Summary
Constructors Constructor Description ReportItemImpl(String nodeId, String message, ReportItem.Type type, boolean repaired)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
String
getNodeId()
ReportItem.Type
getType()
boolean
isRepaired()
String
toString()
-
-
-
Constructor Detail
-
ReportItemImpl
public ReportItemImpl(String nodeId, String message, ReportItem.Type type, boolean repaired)
-
-
Method Detail
-
getNodeId
public String getNodeId()
- Specified by:
getNodeId
in interfaceReportItem
- Returns:
- node id to which the message applies
-
getMessage
public String getMessage()
- Specified by:
getMessage
in interfaceReportItem
- Returns:
- message
-
getType
public ReportItem.Type getType()
- Specified by:
getType
in interfaceReportItem
- Returns:
- the type of inconsistency
-
isRepaired
public boolean isRepaired()
- Specified by:
isRepaired
in interfaceReportItem
- Returns:
- whether this error was repaired
-
-