Package de.japrost.staproma.task
Class LeafTask
- java.lang.Object
-
- de.japrost.staproma.task.AbstactTask
-
- de.japrost.staproma.task.LeafTask
-
public class LeafTask extends AbstactTask
Represents a task without level (no sub tasks).- Author:
- alexxismachine (Ulrich David)
-
-
Field Summary
-
Fields inherited from class de.japrost.staproma.task.AbstactTask
state, subTasks
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChild(Task task)
Add a child to the task. (???-
Methods inherited from class de.japrost.staproma.task.AbstactTask
addContent, getContent, getDescription, getParent, getPriority, hasChildren, isInState, iterator, priorities, setPriority, setState
-
-
-
-
Constructor Detail
-
LeafTask
public LeafTask(Task parent, java.lang.String description)
Create an instance with the given parameters.- Parameters:
parent
- the parent task.description
- the description.
-
-