Class AbstractTask

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.jboss.jca.test.eis.ant.AbstractTask
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
Start, Stop

public abstract class AbstractTask extends org.apache.tools.ant.Task
Abstract task
Author:
Jesper Pedersen
  • Field Summary

    Fields inherited from class org.apache.tools.ant.Task

    target, taskName, taskType, wrapper

    Fields inherited from class org.apache.tools.ant.ProjectComponent

    description, location, project
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract void
    Get the host
    int
    Get the port
    void
    Set the host
    void
    setPort(int v)
    Set the port

    Methods inherited from class org.apache.tools.ant.Task

    bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType

    Methods inherited from class org.apache.tools.ant.ProjectComponent

    clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AbstractTask

      public AbstractTask()
      Constructor
  • Method Details

    • getHost

      public String getHost()
      Get the host
      Returns:
      The value
    • setHost

      public void setHost(String v)
      Set the host
      Parameters:
      v - The value
    • getPort

      public int getPort()
      Get the port
      Returns:
      The value
    • setPort

      public void setPort(int v)
      Set the port
      Parameters:
      v - The value
    • execute

      public abstract void execute() throws org.apache.tools.ant.BuildException
      Overrides:
      execute in class org.apache.tools.ant.Task
      Throws:
      org.apache.tools.ant.BuildException