19 package org.turro.dossier.graph.html;
22 import java.util.stream.Collectors;
23 import org.turro.dossier.entity.Dossier;
24 import org.turro.dossier.graph.IssueGraph;
25 import org.turro.dossier.graph.IssueVertex;
34 private final boolean onlyMilestones, onlyOpen;
37 this.dossier = dossier;
38 this.onlyMilestones = onlyMilestones;
39 this.onlyOpen = onlyOpen;
43 return getGraph().vertexSet().stream()
44 .filter(m -> m.isLeaf() && (!onlyOpen || !m.isAchieved()))
45 .collect(Collectors.toSet());
static IssueGraph milestones(Dossier dossier)
static IssueGraph load(Dossier dossier)
IssueGraphModel(Dossier dossier, boolean onlyMilestones, boolean onlyOpen)
Set< IssueVertex > getLeafs()