Class RunAntCommand
- java.lang.Object
-
- net.sf.antcontrib.antserver.commands.AbstractCommand
-
- net.sf.antcontrib.antserver.commands.RunAntCommand
-
- All Implemented Interfaces:
java.io.Serializable,Command
public class RunAntCommand extends AbstractCommand implements Command
Place class description here.- Since:
- Author:
- Matthew Inger,
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RunAntCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddConfiguredProperty(PropertyContainer property)voidaddConfiguredReference(ReferenceContainer reference)booleanexecute(org.apache.tools.ant.Project project, long contentLength, java.io.InputStream content)Execute the command.java.lang.StringgetAntFile()java.lang.StringgetDir()java.util.VectorgetProperties()java.util.VectorgetReferences()java.lang.StringgetTarget()booleanisInheritall()booleanisInteritrefs()voidsetAntFile(java.lang.String antFile)voidsetDir(java.lang.String dir)voidsetInheritall(boolean inheritall)voidsetInteritrefs(boolean interitrefs)voidsetProperties(java.util.Vector properties)voidsetReferences(java.util.Vector references)voidsetTarget(java.lang.String target)voidvalidate(org.apache.tools.ant.Project project)This should throw a build exception if the parameters are invalid.-
Methods inherited from class net.sf.antcontrib.antserver.commands.AbstractCommand
getContentLength, getContentStream, getReponseContentStream, getResponseContentLength, respond
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.antcontrib.antserver.Command
getContentLength, getContentStream, getReponseContentStream, getResponseContentLength, respond
-
-
-
-
Method Detail
-
getTarget
public java.lang.String getTarget()
-
setTarget
public void setTarget(java.lang.String target)
-
getProperties
public java.util.Vector getProperties()
-
setProperties
public void setProperties(java.util.Vector properties)
-
getReferences
public java.util.Vector getReferences()
-
setReferences
public void setReferences(java.util.Vector references)
-
isInheritall
public boolean isInheritall()
-
setInheritall
public void setInheritall(boolean inheritall)
-
isInteritrefs
public boolean isInteritrefs()
-
setInteritrefs
public void setInteritrefs(boolean interitrefs)
-
getAntFile
public java.lang.String getAntFile()
-
setAntFile
public void setAntFile(java.lang.String antFile)
-
getDir
public java.lang.String getDir()
-
setDir
public void setDir(java.lang.String dir)
-
addConfiguredProperty
public void addConfiguredProperty(PropertyContainer property)
-
addConfiguredReference
public void addConfiguredReference(ReferenceContainer reference)
-
validate
public void validate(org.apache.tools.ant.Project project)
Description copied from interface:CommandThis should throw a build exception if the parameters are invalid.
-
execute
public boolean execute(org.apache.tools.ant.Project project, long contentLength, java.io.InputStream content) throws java.lang.ThrowableDescription copied from interface:CommandExecute the command.
-
-