Coverage Report - net.sf.statcvs.pages.CloudCommitPageMaker
 
Classes in this File Line Coverage Branch Coverage Complexity
CloudCommitPageMaker
0%
0/7
N/A
1
 
 1  
 package net.sf.statcvs.pages;
 2  
 
 3  
 import net.sf.statcvs.Messages;
 4  
 import net.sf.statcvs.output.ReportConfig;
 5  
 import net.sf.statcvs.reports.CloudCommitTableReport;
 6  
 
 7  
 /**
 8  
  * @author Benoit Xhenseval
 9  
  * @version $Id: CloudCommitPageMaker.java,v 1.2 2009/04/22 08:20:42 benoitx Exp $
 10  
  */
 11  
 public class CloudCommitPageMaker {
 12  
     private final ReportConfig config;
 13  
 
 14  0
     public CloudCommitPageMaker(final ReportConfig config) {
 15  0
         this.config = config;
 16  0
     }
 17  
 
 18  
     public NavigationNode toFile() {
 19  0
         final CloudCommitTableReport developers = new CloudCommitTableReport(this.config);
 20  
 
 21  0
         final Page page = this.config.createPage("cloud", Messages.getString("CLOUD"), this.config.getProjectName() + " "
 22  
                 + Messages.getString("CLOUD"));
 23  0
             page.add(developers);
 24  
 
 25  0
         return page;
 26  
     }
 27  
 }