|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.commands.check.CheckEnv
public final class CheckEnv
This class allows to check if the environment is correct for JOnAS.
Field Summary | |
---|---|
static int |
ENV_ERROR
Constant result of the JOnAS configuration check [Error]. |
static int |
ENV_OK
Constant result of JOnAS's conf check [OK]. |
Constructor Summary | |
---|---|
CheckEnv(String[] args)
Build new instance. |
Method Summary | |
---|---|
static void |
main(String[] args)
Main function, creates a new CheckEnv instance. |
int |
performCheck()
Check the JOnAS's configuration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ENV_OK
public static final int ENV_ERROR
Constructor Detail |
---|
public CheckEnv(String[] args)
args
- command argumentsMethod Detail |
---|
public static void main(String[] args)
CheckEnv
instance.
args
- See CheckEnv#ClientAdmin(String[])
.public int performCheck()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |