示例#1
0
 public boolean isWorkEstimationVotingComplete() {
   for (User user : getProject().getTeamMembers()) {
     RequirementEstimationVote vote = getEstimationVote(user);
     if (vote == null || vote.getEstimatedWork() == null) return false;
   }
   return true;
 }
示例#2
0
 public boolean containsWorkEstimationVotes() {
   for (RequirementEstimationVote vote : getEstimationVotes()) {
     if (vote.getEstimatedWork() != null) return true;
   }
   return false;
 }