|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.overlord.commons.dev.server.DevServerEnvironment
public abstract class DevServerEnvironment
Holds information about the development runtime environment.
| Constructor Summary | |
|---|---|
DevServerEnvironment(String[] args)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addModule(String moduleId,
IModuleDiscoveryStrategy... discoveryStrategies)
Adds a module to the environment. |
void |
createAppConfigs()
Creates the UI application configs and sets the system property telling the Overlord Header servlet where to find them. |
DevServerModule |
getModule(String moduleId)
|
File |
getModuleDir(String moduleId)
Gets the module's directory. |
File |
getModuleWorkDir(String moduleId)
Gets the module's work directory. |
File |
getTargetDir()
|
protected void |
inspectArgs(String[] args)
Checks for interesting command line args. |
boolean |
isModuleInIDE(String moduleId)
|
boolean |
isUsingClassHiderAgent()
|
protected void |
onVmExit()
Do any cleanup on exit. |
void |
setTargetDir(File targetDir)
|
void |
setUsingClassHiderAgent(boolean usingClassHiderAgent)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DevServerEnvironment(String[] args)
args - | Method Detail |
|---|
protected void onVmExit()
public boolean isModuleInIDE(String moduleId)
moduleId -
public File getModuleWorkDir(String moduleId)
moduleId - public File getModuleDir(String moduleId)
moduleId - public DevServerModule getModule(String moduleId)
moduleId -
public void addModule(String moduleId,
IModuleDiscoveryStrategy... discoveryStrategies)
moduleId - discoveryStrategies - public File getTargetDir()
public void setTargetDir(File targetDir)
targetDir - the targetDir to setprotected void inspectArgs(String[] args)
args - public boolean isUsingClassHiderAgent()
public void setUsingClassHiderAgent(boolean usingClassHiderAgent)
usingClassHiderAgent - the usingClassHiderAgent to set
public void createAppConfigs()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||