19 package org.turro.dossier.graph;
21 import java.util.HashSet;
22 import java.util.Objects;
24 import java.util.stream.Collectors;
25 import org.turro.dossier.db.DossierPU;
26 import org.turro.dossier.task.Tasks;
35 private final Set<IssueItem> tasks;
40 this.tasks =
new HashSet<>();
65 return graph.outgoingEdgesOf(
this).isEmpty();
74 return graph.incomingEdgesOf(
this).stream().map(e -> e.getSource()).collect(Collectors.toSet());
78 return graph.outgoingEdgesOf(
this).stream().map(e -> e.getTarget()).collect(Collectors.toSet());
87 private double pcdone = - 1;
101 hash = 67 * hash + Objects.hashCode(this.item);
113 if (getClass() != obj.getClass()) {
117 return Objects.
equals(this.item, other.item);
static String getObjectPath(Object object)
Set< IssueItem > getTasks()
Set< IssueVertex > getOutgoing()
Set< IssueVertex > getIncoming()
IssueVertex(IssueGraph graph, IssueItem item)
boolean equals(Object obj)
static Tasks from(Dossier dossier, boolean onlyOpen, boolean sameDossier)
double getPercentTasksDone()