antsnest.antinfo
Class TaskClassScanner
java.lang.Object
antsnest.antinfo.TaskClassScanner
public class TaskClassScanner
- extends Object
Scans a potential Ant task class
- Author:
- Chris Clohosy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TaskClassScanner
public TaskClassScanner()
scan
public static TaskDefinition scan(String classname,
AntInfo antInfo)
throws InvalidAntTaskException
- Scans a class, transforming it into a definition
- Parameters:
classname - the name of the class to scanantInfo - the information object
- Returns:
- a TaskDefinition, a definition of the Ant task
- Throws:
InvalidAntTaskException - if the class is not a valid Ant task