org.fosstrak.llrp.commander.check
Class CheckRepository

java.lang.Object
  extended by org.fosstrak.llrp.commander.check.CheckItem
      extended by org.fosstrak.llrp.commander.check.CheckRepository

public class CheckRepository
extends CheckItem

Helper that checks the derby database folder. If the folder is missing or is corrupt, the helper reports the issue.

Author:
zhanghao, sawielan

Field Summary
 
Fields inherited from class org.fosstrak.llrp.commander.check.CheckItem
CATEGORY_ERROR, CATEGORY_FIX, CATEGORY_INFO, CATEGORY_WARN
 
Constructor Summary
CheckRepository()
           
 
Method Summary
 void fix()
          invoke the repair functionality on the repair item.
 boolean validate()
           
 
Methods inherited from class org.fosstrak.llrp.commander.check.CheckItem
addReportItem, addReportItem, clearAllReport, getReport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckRepository

public CheckRepository()
Method Detail

validate

public boolean validate()
Specified by:
validate in class CheckItem
Returns:
true if the check went ok, false otherwise.

fix

public void fix()
Description copied from class: CheckItem
invoke the repair functionality on the repair item.

Specified by:
fix in class CheckItem


Copyright © 2009. All Rights Reserved.