Package org.apache.tools.ant.helper
Class DefaultExecutor
java.lang.Object
org.apache.tools.ant.helper.DefaultExecutor
- All Implemented Interfaces:
- Executor
Default Target executor implementation. Runs each target individually
 (including all of its dependencies). If an error occurs, behavior is
 determined by the Project's "keep-going" mode.
- Since:
- Ant 1.6.3
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidexecuteTargets(Project project, String[] targetNames) Execute the specified Targets for the specified Project.Get the appropriate subproject Executor instance.
- 
Constructor Details- 
DefaultExecutorpublic DefaultExecutor()
 
- 
- 
Method Details- 
executeTargetsExecute 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
 
- 
getSubProjectExecutorGet 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.
 
 
-