public class TestProcess extends Object implements CommandServer.CommandListener
Constructor and Description |
---|
TestProcess(String instanceId,
int loggerServerPort,
int commandServerPort) |
Modifier and Type | Method and Description |
---|---|
void |
commandReceived(String command) |
void |
destroyQuietly() |
void |
setProcess(Process process) |
void |
waitUntilStarted() |
void |
waitUntilStarted(int contextStartedTiemout) |
public TestProcess(String instanceId, int loggerServerPort, int commandServerPort)
public void destroyQuietly()
public void commandReceived(String command)
commandReceived
in interface CommandServer.CommandListener
public void waitUntilStarted() throws InterruptedException
InterruptedException
public void waitUntilStarted(int contextStartedTiemout) throws InterruptedException
InterruptedException
public void setProcess(Process process)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.