Package org.apache.tools.ant
Interface Executor
- 
- All Known Implementing Classes:
- DefaultExecutor,- IgnoreDependenciesExecutor,- SingleCheckExecutor
 
 public interface ExecutorTarget executor abstraction.- Since:
- Ant 1.6.3
 
- 
- 
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- 
executeTargetsvoid executeTargets(Project project, java.lang.String[] targetNames) throws BuildException Execute the specified Targets for the specified Project.- Parameters:
- project- the Ant Project.
- targetNames- String[] of Target names as specified on the command line.
- Throws:
- BuildException- on error
 
 - 
getSubProjectExecutorExecutor 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:
- an Executor instance.
 
 
- 
 
-