org.apache.tools.ant

Interface Executor

public interface Executor

Target executor abstraction.

Since: Ant 1.6.3

Method Summary
voidexecuteTargets(Project project, String[] targetNames)
Execute the specified Targets for the specified Project.
ExecutorgetSubProjectExecutor()
Get the appropriate subproject Executor instance.

Method Detail

executeTargets

public void executeTargets(Project project, String[] targetNames)
Execute the specified Targets for the specified Project.

Parameters: project the Ant Project. targetNames String[] of Target names.

Throws: BuildException on error

getSubProjectExecutor

public Executor getSubProjectExecutor()
Get the appropriate subproject Executor instance.

Returns: an Executor instance.

Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.