Interface CoverageTask.TaskEnhancer

    • Method Detail

      • supportsTask

        boolean supportsTask​(java.lang.String taskname)
        Parameters:
        taskname - Task type to enhance
        Returns:
        true if this enhancer is capable of enhancing the requested task type
      • enhanceTask

        void enhanceTask​(org.apache.tools.ant.Task task)
                  throws org.apache.tools.ant.BuildException
        Attempt to enhance the supplied task with coverage information. This operation may fail if the task is being executed in the current VM
        Parameters:
        task - Task instance to enhance (usually an UnknownElement)
        Throws:
        org.apache.tools.ant.BuildException - Thrown if this enhancer can handle this type of task, but this instance can not be enhanced for some reason.