Class RunAntCommand

java.lang.Object
net.sf.antcontrib.antserver.commands.AbstractCommand
net.sf.antcontrib.antserver.commands.RunAntCommand
All Implemented Interfaces:
Serializable, Command

public class RunAntCommand extends AbstractCommand implements Command
Place class description here.
Since:
Author:
Matthew Inger,
See Also:
  • Constructor Details

    • RunAntCommand

      public RunAntCommand()
  • Method Details

    • getTarget

      public String getTarget()
    • setTarget

      public void setTarget(String target)
    • getProperties

      public Vector getProperties()
    • setProperties

      public void setProperties(Vector properties)
    • getReferences

      public Vector getReferences()
    • setReferences

      public void setReferences(Vector references)
    • isInheritall

      public boolean isInheritall()
    • setInheritall

      public void setInheritall(boolean inheritall)
    • isInteritrefs

      public boolean isInteritrefs()
    • setInteritrefs

      public void setInteritrefs(boolean interitrefs)
    • getAntFile

      public String getAntFile()
    • setAntFile

      public void setAntFile(String antFile)
    • getDir

      public String getDir()
    • setDir

      public void setDir(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: Command
      This should throw a build exception if the parameters are invalid.
      Specified by:
      validate in interface Command
    • execute

      public boolean execute(org.apache.tools.ant.Project project, long contentLength, InputStream content) throws Throwable
      Description copied from interface: Command
      Execute the command.
      Specified by:
      execute in interface Command
      Parameters:
      project - The project which is being executed
      Returns:
      If true, the connection will be closed
      Throws:
      Throwable