|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fosstrak.llrp.commander.check.CheckItem
org.fosstrak.llrp.commander.check.HealthCheck
public class HealthCheck
This HealthCheck maintain a chain of CheckItem.
when the PlugIn start up, it is triggered by validate each CheckItem
in the chain. If any of them failed validation, the specific fix function
will be called.
| Field Summary |
|---|
| Fields inherited from class org.fosstrak.llrp.commander.check.CheckItem |
|---|
CATEGORY_ERROR, CATEGORY_FIX, CATEGORY_INFO, CATEGORY_WARN |
| Constructor Summary | |
|---|---|
HealthCheck()
Default Constructor. |
|
| Method Summary | |
|---|---|
void |
fix()
Execute fix function of each check item in the chain |
void |
registerCheckItem(CheckItem aItem)
Register new check items |
boolean |
validate()
Validate each check item in the chain. |
| 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 |
|---|
public HealthCheck()
| Method Detail |
|---|
public void registerCheckItem(CheckItem aItem)
aItem - New Check Itempublic boolean validate()
validate in class CheckItempublic void fix()
fix function of each check item in the chain
fix in class CheckItem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||