Package org.daisy.dotify.devtools.jvm
Class BatchProcessStarter
- java.lang.Object
-
- org.daisy.dotify.devtools.jvm.BatchProcessStarter
-
public class BatchProcessStarter extends Object
-
-
Constructor Summary
Constructors Constructor Description BatchProcessStarter(boolean javaCommand)BatchProcessStarter(int threads, boolean javaCommand)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetArgsSeparator()intgetTimeout()Gets execution timeout, in minutesbooleanisJavaCommand()voidrun(InputStream is)voidsetArgsSeparator(String argsSeparator)voidsetTimeout(int timeout)Sets the execution timeout, in minutes
-
-
-
Method Detail
-
getArgsSeparator
public String getArgsSeparator()
-
setArgsSeparator
public void setArgsSeparator(String argsSeparator)
-
isJavaCommand
public boolean isJavaCommand()
-
getTimeout
public int getTimeout()
Gets execution timeout, in minutes- Returns:
- returns timeout
-
setTimeout
public void setTimeout(int timeout)
Sets the execution timeout, in minutes- Parameters:
timeout- the timeout, in minutes
-
run
public void run(InputStream is) throws IOException
- Throws:
IOException
-
-