|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jac.ide.ModelElement | +--org.objectweb.jac.ide.Application
Constructor Summary | |
Application()
|
Method Summary | |
void |
addAspectConfiguration(AspectConfiguration a)
|
void |
addExternalPath(String path)
|
void |
addHost(String host)
|
void |
addIgnoredClass(String expr)
|
void |
addProperty(String name,
String value)
|
boolean |
canStartSlaves()
|
void |
generateCode()
|
List |
getAspectConfigurations()
Get the value of aspectConfigurations. |
int |
getDebugPort()
|
List |
getExternalPaths()
Get the value of externalPaths. |
List |
getHosts()
Get the value of hosts. |
Set |
getIgnoredClasses()
|
File |
getJacFile()
|
String |
getJvmOption()
|
Class |
getMainClass()
Get the value of mainClass. |
static Collection |
getMainClasses(Application application)
Returns available main classes (Classes wich have a static void main(String[]) method) |
String |
getName()
Get the value of name. |
String |
getOtherOption()
|
Project |
getProject()
Get the value of project. |
Map |
getProperties()
|
String[] |
getRunCommandAndArgs()
Returns the command and arguments to run the application |
String |
getServerName()
|
boolean |
getStartSwingGUI()
|
boolean |
getStartWebGUI()
|
String |
getSwingGUIs()
|
String |
getWebGUIs()
|
boolean |
isDistributionEnabled()
|
boolean |
isEnableDebugging()
|
boolean |
isNotStarted()
|
boolean |
isStarted()
|
void |
removeAspectConfiguration(AspectConfiguration a)
|
void |
removeExternalPath(String path)
|
void |
removeHost(String host)
|
void |
removeIgnoredClass(String expr)
|
void |
removeProperty(String name)
|
void |
resetCurrentProcess()
|
void |
setDebugPort(int debugPort)
|
void |
setEnableDebugging(boolean enableDebugging)
|
void |
setEnableDistribution(boolean value)
|
void |
setJvmOptions(String options)
|
void |
setMainClass(Class v)
Set the value of mainClass. |
void |
setName(String v)
Set the value of name. |
void |
setOtherOptions(String options)
|
void |
setProject(Project v)
Set the value of project. |
void |
setServerName(String name)
|
void |
setStartSwingGUI(boolean value)
|
void |
setStartWebGUI(boolean value)
|
void |
setSwingGUIs(String v)
|
void |
setTrace(String category,
org.apache.log4j.Level level)
Changes a trace for the running process |
void |
setWebGUIs(String v)
|
void |
start()
|
void |
startSlaves()
|
void |
stop()
|
Methods inherited from class org.objectweb.jac.ide.ModelElement |
addConfigItem, addEndingLink, addLink, getConfigItems, getDescription, getEndingLinks, getFullName, getGenerationFullName, getGenerationName, getLinks, getType, remove, removeEndingLink, removeLink, setDescription, setEndingLinks, setLinks |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Application()
Method Detail |
public List getHosts()
public void addHost(String host)
public void removeHost(String host)
public String getName()
getName
in class ModelElement
public void setName(String v)
setName
in class ModelElement
v
- Value to assign to name.public Class getMainClass()
public void setMainClass(Class v)
v
- Value to assign to mainClass.public List getAspectConfigurations()
public void addAspectConfiguration(AspectConfiguration a)
public void removeAspectConfiguration(AspectConfiguration a)
public List getExternalPaths()
public void addExternalPath(String path)
public void removeExternalPath(String path)
public Set getIgnoredClasses()
public void addIgnoredClass(String expr)
public void removeIgnoredClass(String expr)
public Project getProject()
public void setProject(Project v)
v
- Value to assign to project.public void setStartSwingGUI(boolean value)
public boolean getStartSwingGUI()
public String getSwingGUIs()
public void setSwingGUIs(String v)
public String getWebGUIs()
public void setWebGUIs(String v)
public void setStartWebGUI(boolean value)
public boolean getStartWebGUI()
public void setEnableDistribution(boolean value)
public boolean isDistributionEnabled()
public void setServerName(String name)
public String getServerName()
public String getOtherOption()
public void setOtherOptions(String options)
public String getJvmOption()
public void setJvmOptions(String options)
public Map getProperties()
public void addProperty(String name, String value)
public void removeProperty(String name)
public boolean isEnableDebugging()
public void setEnableDebugging(boolean enableDebugging)
public int getDebugPort()
public void setDebugPort(int debugPort)
public void resetCurrentProcess()
public boolean isStarted()
public boolean isNotStarted()
public File getJacFile()
public String[] getRunCommandAndArgs()
public void start() throws IOException
IOException
public void stop()
public void startSlaves() throws IOException
IOException
public void setTrace(String category, org.apache.log4j.Level level) throws Exception
category
- category of the tracelevel
- level of the trace (0=quiet,1=verbose,2=more verbose...)
Exception
public boolean canStartSlaves()
public void generateCode() throws org.objectweb.jac.ide.CannotGenerateException, IOException
org.objectweb.jac.ide.CannotGenerateException
IOException
public static Collection getMainClasses(Application application)
application
- the application to return main classes for
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |