|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectNOS.system.NOSProcess
public class NOSProcess
| Constructor Summary | |
|---|---|
NOSProcess(java.lang.String jar,
java.lang.String app,
java.lang.String[] args)
Creates a new NOSProcess object. |
|
| Method Summary | |
|---|---|
void |
deRegisterWindow(NOSWindow window)
DeRegisters a window with this process. |
java.lang.String |
getApp()
Returns the name of the main class for this application |
java.lang.String[] |
getArgs()
Returns the arguments used to create this application |
NOSDesktop |
getDesktop()
returns the NOSDesktop that is associated with this process. |
java.lang.String |
getDir()
Returns the directory in which this application was run. |
java.lang.Integer |
getID()
Returns the process ID |
NOSSystem |
getSystem()
returns the NOSSystem instance that was active when this process was created. |
boolean |
isRunning()
Returns true if this process is currently running. |
void |
registerWindow(NOSWindow window)
Registers a window with this process. |
void |
start()
Starts running this process. |
void |
stop()
Stops running this process. |
void |
stopAndWait()
Stops running this process and waits for it to finish. |
java.lang.String |
toString()
Returns a String representation of this process object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NOSProcess(java.lang.String jar,
java.lang.String app,
java.lang.String[] args)
jar - The path to the JAR file that contains the main class for
this applicationapp - The name of the main class for this application.args - The arguments for the application| Method Detail |
|---|
public java.lang.Integer getID()
public boolean isRunning()
public java.lang.String[] getArgs()
public java.lang.String getDir()
public java.lang.String getApp()
public NOSSystem getSystem()
public NOSDesktop getDesktop()
public void registerWindow(NOSWindow window)
window - The windowpublic void deRegisterWindow(NOSWindow window)
window - The windowpublic void start()
public void stop()
public void stopAndWait()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||