|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ourgrid.mygrid.ui.command.EnvironmentConfigurator
public class EnvironmentConfigurator
This class checks and configures the configuration files directory, i.e. it assures that ".mygrid" is created at /home/user/ and that MG.defaults and MG.properties are available there.
Constructor Summary | |
---|---|
EnvironmentConfigurator()
|
Method Summary | |
---|---|
boolean |
configureEnvironment()
Determines if this command needs to configure environment before being executed |
int |
run(java.lang.String[] params)
Builds correctly the MyGrid configuation directory, cheking if it already exists and if the necessary contents are into this. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EnvironmentConfigurator()
Method Detail |
---|
public int run(java.lang.String[] params)
run
in interface Command
public boolean configureEnvironment()
Command
configureEnvironment
in interface Command
Command.configureEnvironment()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |