Class StopWatchTask

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class StopWatchTask
    extends org.apache.tools.ant.Task
    Assists in timing tasks and/or targets.
    Version:
    $Revision: 131 $
    • 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
      StopWatchTask()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()
      Description of the Method
      void setAction​(java.lang.String action)
      Sets the action attribute of the StopWatchTask object
      void setName​(java.lang.String name)
      Sets the name attribute of the StopWatchTask object
      • 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 Detail

      • StopWatchTask

        public StopWatchTask()
    • Method Detail

      • setName

        public void setName​(java.lang.String name)
        Sets the name attribute of the StopWatchTask object
        Parameters:
        name - The new name value
      • setAction

        public void setAction​(java.lang.String action)
        Sets the action attribute of the StopWatchTask object
        Parameters:
        action - The new action value
      • execute

        public void execute()
        Description of the Method
        Overrides:
        execute in class org.apache.tools.ant.Task