public class CmsSetupTestResult
extends java.lang.Object
构造器和说明 |
---|
CmsSetupTestResult(I_CmsSetupTest test)
Creates a new setup test result.
|
限定符和类型 | 方法和说明 |
---|---|
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.
|
public CmsSetupTestResult(I_CmsSetupTest test)
test
- the test to keep track ofpublic 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()