| 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 | |
|
| 9 | |
|
| 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 | |
} |