antsnest.antinfo
Class DefaultTaskDefinition
java.lang.Object
antsnest.antinfo.DefinitionBasics
antsnest.antinfo.DefaultTaskDefinition
- All Implemented Interfaces:
- Definition, TaskDefinition, Comparable
public class DefaultTaskDefinition
- extends DefinitionBasics
- implements TaskDefinition
Implementation of TaskDefinition
- Author:
- Chris Clohosy
- See Also:
DefinitionBasics,
TaskDefinition
| Methods inherited from class antsnest.antinfo.DefinitionBasics |
addAttribute, addNestedElement, compareTo, equals, getAttribute, getAttributes, getClassname, getName, getNestedElement, getNestedElements, setClassname, setDeprecated, toString |
DefaultTaskDefinition
public DefaultTaskDefinition(String category,
String name)
- Constructs a new task definition
- Parameters:
category - the category this task belongs inname - the name of this task
getCategory
public String getCategory()
- Gets the category this task belongs in
- Specified by:
getCategory in interface TaskDefinition
- Returns:
- a String, the category name
isDeprecated
public boolean isDeprecated()
- Whether this task is deprecated
- Specified by:
isDeprecated in interface Definition- Overrides:
isDeprecated in class DefinitionBasics
- Returns:
- a boolean, whether it is deprecated