BrightSide Workbench Full Report + Source Code
org.turro.dossier.task.TaskItem Class Reference

Public Member Functions

 TaskItem (Issue issue, IssuePredecessorType type, int level)
 
Issue getIssue ()
 
IssuePredecessorType getType ()
 
int getLevel ()
 
Collection< TaskItemgetSubtasks ()
 
void addSubtask (TaskItem subtask)
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 30 of file TaskItem.java.

Constructor & Destructor Documentation

◆ TaskItem()

org.turro.dossier.task.TaskItem.TaskItem ( Issue  issue,
IssuePredecessorType  type,
int  level 
)

Definition at line 37 of file TaskItem.java.

37  {
38  this.issue = issue;
39  this.type = type;
40  this.level = level;
41  this.subtasks = new ArrayList<>();
42  }

Member Function Documentation

◆ addSubtask()

void org.turro.dossier.task.TaskItem.addSubtask ( TaskItem  subtask)

Definition at line 60 of file TaskItem.java.

60  {
61  subtasks.add(subtask);
62  }

◆ getIssue()

Issue org.turro.dossier.task.TaskItem.getIssue ( )

Definition at line 44 of file TaskItem.java.

44  {
45  return issue;
46  }
Here is the caller graph for this function:

◆ getLevel()

int org.turro.dossier.task.TaskItem.getLevel ( )

Definition at line 52 of file TaskItem.java.

52  {
53  return level;
54  }
Here is the caller graph for this function:

◆ getSubtasks()

Collection<TaskItem> org.turro.dossier.task.TaskItem.getSubtasks ( )

Definition at line 56 of file TaskItem.java.

56  {
57  return subtasks;
58  }
Here is the caller graph for this function:

◆ getType()

IssuePredecessorType org.turro.dossier.task.TaskItem.getType ( )

Definition at line 48 of file TaskItem.java.

48  {
49  return type;
50  }

The documentation for this class was generated from the following file: