|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.setup.comptest.CmsSetupTestResult
public class CmsSetupTestResult
Contains info about the result of a setup test.
Constructor Summary | |
---|---|
CmsSetupTestResult(I_CmsSetupTest test)
Creates a new setup test result. |
Method Summary | |
---|---|
java.lang.String |
getHelp()
Returns the help string what to do if a test failed. |
java.lang.String |
getInfo()
Returns the description of the test, e.g. |
java.lang.String |
getName()
Returns the name of the test, e.g. |
java.lang.String |
getResult()
Returns the result of the test, e.g. |
boolean |
isGreen()
Returns true, if the conditions the test were fulfilled. |
boolean |
isRed()
Returns true if the test found a violated condition. |
boolean |
isYellow()
Returns true if the test found a questionable condition. |
protected void |
setGreen()
Sets if the conditions in the test were fulfilled. |
protected void |
setHelp(java.lang.String help)
Sets the help string what to do if a test failed. |
protected void |
setInfo(java.lang.String info)
Sets the description of the test, e.g. |
protected void |
setName(java.lang.String name)
Sets the name of the test, e.g. |
protected void |
setRed()
Sets if the test found a violated condition. |
protected void |
setResult(java.lang.String result)
Sets the result of the test, e.g. |
protected void |
setYellow()
Sets if the test found a questionable condition. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmsSetupTestResult(I_CmsSetupTest test)
test
- the test to keep track ofMethod Detail |
---|
public java.lang.String getHelp()
This string will be displayed in a help bubble.
public java.lang.String getInfo()
public java.lang.String getName()
public java.lang.String getResult()
public boolean isGreen()
public boolean isRed()
public boolean isYellow()
protected void setGreen()
protected void setHelp(java.lang.String help)
This string will be displayed in a help bubble.
help
- the help string what to do if a test failedprotected void setInfo(java.lang.String info)
info
- the description of the testprotected void setName(java.lang.String name)
name
- the name of the testprotected void setRed()
protected void setResult(java.lang.String result)
result
- the result of the testprotected void setYellow()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |