public class HeadlessContext extends Object implements ExecutionContext
| Constructor and Description |
|---|
HeadlessContext(int display) |
| Modifier and Type | Method and Description |
|---|---|
void |
setCommand(PlayerCommand command) |
void |
setProject(org.apache.tools.ant.Project project) |
void |
start()
Starts the execution context and any work associated with the individual implementations.
|
void |
stop(Process playerProcess)
Stops the execution context and manages the player Process as well as any work associated
with the individual implementations.
|
public void setProject(org.apache.tools.ant.Project project)
setProject in interface ExecutionContextpublic void setCommand(PlayerCommand command)
setCommand in interface ExecutionContextpublic void start()
throws IOException
ExecutionContextstart in interface ExecutionContextIOExceptionpublic void stop(Process playerProcess) throws IOException
ExecutionContextstop in interface ExecutionContextIOExceptionCopyright © 2020 The Apache Software Foundation. All rights reserved.