public interface RunnableContainer
Modifier and Type | Method and Description |
---|---|
String |
getOutput() |
long |
getTimeout() |
boolean |
isAppend() |
void |
setAppend(boolean shouldAppend)
Sets whether output of the container should be appended to an existing file, or the existing
file should be truncated.
|
void |
setOutput(String output) |
void |
setTimeout(long timeout) |
void |
start()
Starts the container.
|
void |
stop()
Stops the container.
|
void start()
void stop()
void setOutput(String output)
output
- the file to which the container's output will be logged to. Note that we're
passing a String instead of a File because we want to leave the possibility of using
URIs for specifying the home location.String getOutput()
void setTimeout(long timeout)
timeout
- the timeout (in ms) after which we consider the container cannot be started
or stopped.long getTimeout()
void setAppend(boolean shouldAppend)
shouldAppend
- Whether output should be appended to or notboolean isAppend()
Copyright © 2004-2013 Codehaus. All Rights Reserved.