public class DefaultProcessContext extends Object implements ProcessExecutionContext
| Constructor and Description |
|---|
DefaultProcessContext() |
| 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 process)
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 process) throws IOException
ProcessExecutionContextstop in interface ProcessExecutionContextIOExceptionCopyright © 2023 The Apache Software Foundation. All rights reserved.