public class HeadlessContext extends Object implements ProcessExecutionContext
| Constructor and Description |
|---|
HeadlessContext(int display) |
| Modifier and Type | Method and Description |
|---|---|
void |
setCommand(ProcessCommand 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 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(ProcessCommand command)
setCommand in interface ProcessExecutionContextpublic void start()
throws IOException
ExecutionContextstart in interface ExecutionContextIOExceptionpublic void stop(Process playerProcess) throws IOException
ProcessExecutionContextstop in interface ProcessExecutionContextIOExceptionCopyright © 2023 The Apache Software Foundation. All rights reserved.