Package repast.simphony.integration
Class DefaultLegacyExecutor
- java.lang.Object
-
- repast.simphony.integration.DefaultLegacyExecutor
-
- All Implemented Interfaces:
LegacyExecutor
public class DefaultLegacyExecutor extends Object implements LegacyExecutor
-
-
Constructor Summary
Constructors Constructor Description DefaultLegacyExecutor(String executable, String[] args, Map environment)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
execute()
int
exitValue()
static void
main(String[] args)
void
spawn()
int
waitForSpawn()
-
-
-
Method Detail
-
execute
public int execute() throws IOException
- Specified by:
execute
in interfaceLegacyExecutor
- Throws:
IOException
-
spawn
public void spawn() throws IOException
- Specified by:
spawn
in interfaceLegacyExecutor
- Throws:
IOException
-
waitForSpawn
public int waitForSpawn() throws InterruptedException
- Throws:
InterruptedException
-
exitValue
public int exitValue()
-
main
public static void main(String[] args)
-
-