|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AntInfo
The object responsible for providing information about Ant
AntInfoFactory| Method Summary | |
|---|---|
void |
addTask(TaskDefinition task)
Adds knowledge of a new task |
void |
addType(TypeDefinition type)
Adds knowledge of a new type |
boolean |
doesTaskExist(String task)
Whether a task exists |
boolean |
doesTypeExist(String type)
Whether a type exists |
String[] |
getCategoryNames()
Gets all the category names |
TaskDefinition |
getTask(String name)
Gets a task by name |
TaskDefinition[] |
getTasks()
Gets all the tasks known about |
TaskDefinition[] |
getTasks(String categoryName)
Gets all the tasks belonging to a particular category |
TypeDefinition |
getType(String typeName)
Gets a type if it knows about it |
TypeDefinition[] |
getTypes()
Gets all the types known about |
| Method Detail |
|---|
boolean doesTaskExist(String task)
task - the task to check for
boolean doesTypeExist(String type)
type - the type to check for
String[] getCategoryNames()
TaskDefinition[] getTasks(String categoryName)
categoryName - the category name to search with
TypeDefinition getType(String typeName)
typeName - the name of the type required
TypeDefinition[] getTypes()
TaskDefinition getTask(String name)
name - the name of the task required
TaskDefinition[] getTasks()
void addTask(TaskDefinition task)
task - the task to addvoid addType(TypeDefinition type)
type - the type to add
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||