Class HelloWorldCommand

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

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

    • HelloWorldCommand

      public HelloWorldCommand()
  • Method Details

    • 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