|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.setup.comptest.CmsSetupTests
public class CmsSetupTests
Runs various tests to give users infos about whether their system is compatible to OpenCms.
Constructor Summary | |
---|---|
CmsSetupTests()
Creates a new setup test suite. |
Method Summary | |
---|---|
java.util.List |
getAllTests()
Returns a list of all available tests. |
java.util.List |
getTestResults()
Returns the test results. |
boolean |
isGreen()
Returns true, if the conditions in all testes were fulfilled. |
boolean |
isRed()
Returns true if one of the tests found a violated condition. |
boolean |
isYellow()
Returns true if one of the tests found a questionable condition. |
void |
runTests(CmsSetupBean setupBean)
Runs all tests. |
protected void |
setGreen()
Sets if the conditions in all testes were fulfilled. |
protected void |
setRed()
Sets if one of the tests found a violated condition. |
protected void |
setYellow()
Sets if one of the tests found a questionable condition. |
protected void |
writeVersionInfo(java.lang.String thisEngine,
java.lang.String usedJDK,
java.lang.String basePath)
Writes the version info of the used servlet engine and the used JDK to the version.txt. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmsSetupTests()
Method Detail |
---|
public java.util.List getAllTests()
public java.util.List getTestResults()
public boolean isGreen()
public boolean isRed()
public boolean isYellow()
public void runTests(CmsSetupBean setupBean)
setupBean
- the CmsSetup bean of the setup wizardprotected void setGreen()
protected void setRed()
protected void setYellow()
protected void writeVersionInfo(java.lang.String thisEngine, java.lang.String usedJDK, java.lang.String basePath)
thisEngine
- The servlet engine in useusedJDK
- The JDK version in usebasePath
- the OpenCms base path
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |