BrightSide Workbench Full Report + Source Code
org.turro.dossier.graph.html.IssueGraphModel Class Reference

Public Member Functions

 IssueGraphModel (Dossier dossier, boolean onlyMilestones, boolean onlyOpen)
 
Set< IssueVertexgetLeafs ()
 

Detailed Description

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

Definition at line 31 of file IssueGraphModel.java.

Constructor & Destructor Documentation

◆ IssueGraphModel()

org.turro.dossier.graph.html.IssueGraphModel.IssueGraphModel ( Dossier  dossier,
boolean  onlyMilestones,
boolean  onlyOpen 
)

Definition at line 36 of file IssueGraphModel.java.

36  {
37  this.dossier = dossier;
38  this.onlyMilestones = onlyMilestones;
39  this.onlyOpen = onlyOpen;
40  }

Member Function Documentation

◆ getLeafs()

Set<IssueVertex> org.turro.dossier.graph.html.IssueGraphModel.getLeafs ( )

Definition at line 42 of file IssueGraphModel.java.

42  {
43  return getGraph().vertexSet().stream()
44  .filter(m -> m.isLeaf() && (!onlyOpen || !m.isAchieved()))
45  .collect(Collectors.toSet());
46  }

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