public class Process extends Object
| Constructor and Description |
|---|
Process(File officeHome,
UnoUrl unoUrl,
String[] runAsArgs,
File templateProfileDir,
File workDir,
ProcessManager processManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteProfileDir() |
int |
forciblyTerminate(long retryInterval,
long retryTimeout) |
Integer |
getExitCode() |
int |
getExitCode(long retryInterval,
long retryTimeout) |
boolean |
isRunning() |
void |
start() |
void |
start(boolean restart) |
public void start()
throws IOException
IOExceptionpublic void start(boolean restart)
throws IOException
IOExceptionpublic void deleteProfileDir()
public boolean isRunning()
public Integer getExitCode()
public int getExitCode(long retryInterval,
long retryTimeout)
throws InstrumentException
InstrumentExceptionpublic int forciblyTerminate(long retryInterval,
long retryTimeout)
throws IOException,
InstrumentException
IOExceptionInstrumentExceptionCopyright © 2019. All rights reserved.