Package org.apache.tools.ant.helper
Class SingleCheckExecutor
- java.lang.Object
- 
- org.apache.tools.ant.helper.SingleCheckExecutor
 
- 
- All Implemented Interfaces:
- Executor
 
 public class SingleCheckExecutor extends java.lang.Object implements Executor "Single-check" Target executor implementation. Differs fromDefaultExecutorin that the dependencies for all targets are computed together, so that shared dependencies are run just once.- Since:
- Ant 1.6.3
 
- 
- 
Constructor SummaryConstructors Constructor Description SingleCheckExecutor()
 - 
Method SummaryModifier and Type Method Description voidexecuteTargets(Project project, java.lang.String[] targetNames)Execute the specified Targets for the specified Project.ExecutorgetSubProjectExecutor()Get the appropriate subproject Executor instance.
 
- 
- 
- 
Method Detail- 
executeTargetspublic void executeTargets(Project project, java.lang.String[] targetNames) throws BuildException Execute the specified Targets for the specified Project..- Specified by:
- executeTargetsin interface- Executor
- Parameters:
- project- the Ant Project.
- targetNames- String[] of Target names as specified on the command line.
- Throws:
- BuildException- on error
 
 - 
getSubProjectExecutorpublic 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:
- getSubProjectExecutorin interface- Executor
- Returns:
- an Executor instance.
 
 
- 
 
-