Examples of BugInfo


Examples of project.gluebooster.reportingBooster.BugInfo

   }
  }

  private void writeBugHierarchy( DefaultMutableTreeNode bugNode, int level, String titleHierarchy, Sink sink, XMLStreamWriter xml) throws Exception
  {
    BugInfo bug = (BugInfo) bugNode.getUserObject();
   
      MavenReportUtils.addTitleWithAnchor(sink, level, titleHierarchy + " " +  bug.getSummary(), "" + bug.getId());
      xml.writeStartElement("bug");
      xml.writeAttribute("id", "" + bug.getId());
      xml.writeCharacters( bug.getSummary());

      if ( (bug.getEstimatedTime() != 0) && bug.getCumulatedWorkedTime() + bug.getRemainingTime() > bug.getEstimatedTime()))
      {
        sink.bold();
        sink.text("!!! EXCEEDING TIME LIMIT !!!");
        sink.bold_();
      }
     
      MavenReportUtils.startTable(sink);
      MavenReportUtils.tableRow(sink, new String[]{ "Status/Resolution", bug.getStatus() + "/" + bug.getResolution()});
      MavenReportUtils.tableRow(sink, new String[]{ "Cumulated/Estimated/Remaining Time (hours)", bug.getCumulatedWorkedTime()+ "/" + bug.getEstimatedTime() + "/" + bug.getRemainingTime()});
      MavenReportUtils.tableRow(sink, new String[]{ "Deadline/Milestone", bug.getDeadline()+ "/" + bug.getMilestone()});
      MavenReportUtils.tableRow(sink, new String[]{ "Priority/Severity", bug.getPriority()+ "/" + bug.getSeverity()});
     
      MavenReportUtils.endTable(sink);
     
      Enumeration<DefaultMutableTreeNode> children = bugNode.children();
      int index = 1;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.