Package org.dspace.health
Class Check
- java.lang.Object
-
- org.dspace.health.Check
-
- Direct Known Subclasses:
ChecksumCheck,EmbargoCheck,InfoCheck,ItemCheck,LogAnalyserCheck,UserCheck
public abstract class Check extends Object
Abstract check interface.- Author:
- LINDAT/CLARIN dev team
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.apache.logging.log4j.Loggerlog
-
Constructor Summary
Constructors Constructor Description Check()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voiderror(Throwable e)protected voiderror(Throwable e, String msg)voidreport(ReportInfo ri)protected abstract Stringrun(ReportInfo ri)
-
-
-
Method Detail
-
run
protected abstract String run(ReportInfo ri)
-
report
public void report(ReportInfo ri)
-
error
protected void error(Throwable e)
-
-