public abstract class DevServerEnvironment extends Object
| Constructor and Description |
|---|
DevServerEnvironment(String[] args)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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) |
public DevServerEnvironment(String[] args)
args - 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 setCopyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.