org.fosstrak.llrp.commander.check
Class CheckEclipseProject

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

public class CheckEclipseProject
extends CheckItem

Performs a sanity check on the eclipse folder required by the LLRP Commander. In case that the folder is corrupt, the method fixIt tries to auto-repair the corrupt parts of the folder.

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
CheckEclipseProject()
           
 
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

CheckEclipseProject

public CheckEclipseProject()
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.