public class RunAntCommand extends AbstractCommand implements Command
Constructor and Description |
---|
RunAntCommand() |
Modifier and Type | Method and Description |
---|---|
void |
addConfiguredProperty(PropertyContainer property) |
void |
addConfiguredReference(ReferenceContainer reference) |
boolean |
execute(org.apache.tools.ant.Project project,
long contentLength,
java.io.InputStream content)
Execute the command.
|
java.lang.String |
getAntFile() |
java.lang.String |
getDir() |
java.util.Vector |
getProperties() |
java.util.Vector |
getReferences() |
java.lang.String |
getTarget() |
boolean |
isInheritall() |
boolean |
isInteritrefs() |
void |
setAntFile(java.lang.String antFile) |
void |
setDir(java.lang.String dir) |
void |
setInheritall(boolean inheritall) |
void |
setInteritrefs(boolean interitrefs) |
void |
setProperties(java.util.Vector properties) |
void |
setReferences(java.util.Vector references) |
void |
setTarget(java.lang.String target) |
void |
validate(org.apache.tools.ant.Project project)
This should throw a build exception if the parameters
are invalid.
|
getContentLength, getContentStream, getReponseContentStream, getResponseContentLength, respond
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContentLength, getContentStream, getReponseContentStream, getResponseContentLength, respond
public java.lang.String getTarget()
public void setTarget(java.lang.String target)
public java.util.Vector getProperties()
public void setProperties(java.util.Vector properties)
public java.util.Vector getReferences()
public void setReferences(java.util.Vector references)
public boolean isInheritall()
public void setInheritall(boolean inheritall)
public boolean isInteritrefs()
public void setInteritrefs(boolean interitrefs)
public java.lang.String getAntFile()
public void setAntFile(java.lang.String antFile)
public java.lang.String getDir()
public void setDir(java.lang.String dir)
public void addConfiguredProperty(PropertyContainer property)
public void addConfiguredReference(ReferenceContainer reference)
public void validate(org.apache.tools.ant.Project project)
Command
public boolean execute(org.apache.tools.ant.Project project, long contentLength, java.io.InputStream content) throws java.lang.Throwable
Command