public abstract class Command extends Object
| Constructor and Description |
|---|
Command() |
| Modifier and Type | Method and Description |
|---|---|
int |
execute() |
org.apache.tools.ant.types.Commandline |
getCommandLine() |
String[] |
getEnvironment() |
org.apache.tools.ant.Project |
getProject() |
Process |
launch() |
void |
setEnvironment(String[] variables) |
void |
setProject(org.apache.tools.ant.Project project) |
public void setProject(org.apache.tools.ant.Project project)
public org.apache.tools.ant.Project getProject()
public org.apache.tools.ant.types.Commandline getCommandLine()
public int execute()
throws IOException
IOExceptionpublic Process launch() throws IOException
IOExceptionpublic void setEnvironment(String[] variables)
public String[] getEnvironment()
Copyright © 2020 The Apache Software Foundation. All rights reserved.