Top Description Constructors Methods
org.apache.tools.ant.helper

public Class SingleCheckExecutor

extends Object
implements Executor
Class Inheritance
All Implemented Interfaces
org.apache.tools.ant.Executor
Imports
org.apache.tools.ant.BuildException, .Executor, .Project

"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.
Since
Ant 1.6.3

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
executeTargets(Project
the Ant Project.
project
,
String[]
String[] of Target names as specified on the command line.
targetNames
)

Implements org.apache.tools.ant.Executor.executeTargets.

Execute the specified Targets for the specified Project..
public Executor
getSubProjectExecutor()

Implements org.apache.tools.ant.Executor.getSubProjectExecutor.

Get the appropriate subproject Executor instance.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

SingleCheckExecutorback to summary
public SingleCheckExecutor()

Method Detail

executeTargetsback to summary
public void executeTargets(Project project, String[] targetNames) throws BuildException

Implements org.apache.tools.ant.Executor.executeTargets.

Doc from org.apache.tools.ant.Executor.executeTargets.

Execute the specified Targets for the specified Project..

Parameters
project:Project

the Ant Project.

targetNames:String[]

String[] of Target names as specified on the command line.

Exceptions
BuildException:
on error
getSubProjectExecutorback to summary
public Executor getSubProjectExecutor()

Implements org.apache.tools.ant.Executor.getSubProjectExecutor.

Doc from org.apache.tools.ant.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..

Returns:Executor

an Executor instance.