Class SingleCheckExecutor

All Implemented Interfaces:

public class SingleCheckExecutor extends Object implements Executor
"Single-check" Target executor implementation. Differs from DefaultExecutor in that the dependencies for all targets are computed together, so that shared dependencies are run just once.
Ant 1.6.3
  • Constructor Details

    • SingleCheckExecutor

      public SingleCheckExecutor()
  • Method Details

    • executeTargets

      public void executeTargets(Project project, String[] targetNames) throws BuildException
      Execute the specified Targets for the specified Project..
      Specified by:
      executeTargets in interface Executor
      project - the Ant Project.
      targetNames - String[] of Target names as specified on the command line.
      BuildException - on error
    • getSubProjectExecutor

      public Executor getSubProjectExecutor()
      Get the appropriate subproject Executor instance. This allows the top executor to control what type of executor is used to execute subprojects via <ant>/<antcall>/<subant> and task that extend these. All bundled Executors return a SingleCheckExecutor (running a merged set of depended targets for all targets called) to run sub-builds..
      Specified by:
      getSubProjectExecutor in interface Executor
      an Executor instance.