Skip to main content
summaryrefslogtreecommitdiffstats
blob: 94592a1ac0bc0729d9cef3ed6b686e0af1ab79db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/*******************************************************************************
 * Copyright (c) 2011 Ericsson Research Canada
 * 
 * All rights reserved. This program and the accompanying materials are
 * made available under the terms of the Eclipse Public License v1.0 which
 * accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Description:
 * 
 *  * This interface is used to generate a report
 * 
 * Contributors:
 *   Jacques Bouthillier -Initial implementation of the R4E interface report generation
 *   
 *******************************************************************************/
package org.eclipse.mylyn.reviews.r4e.report.impl;

import java.io.File;

/**
 * @author Jacques Bouthillier
 *
 */
public interface IR4EReport {

	// Report type to be generated
	public final String INSPECTION_RECORD_TYPE = "Inspection Record";
	public final String GLOBAL_REPORT_TYPE = "Global Report";
	public final String SINGLE_REPORT_TYPE = "List Single Report";
	
	// Report extension file
	public final String HTML_EXTENSION = "html";
	public final String PDF_EXTENSION = "pdf";

	/**
	 * Set the type of report
	 * 
	 * @param aReportType
	 */
	public void setReportType(String aReportType);
	
	/**
	 * Set the output format to generate the report
	 * 
	 * @param String
	 *            aFormatOutput
	 */
	public void setOuputFormat(String aFormatOutput);
	
	/**
	 * Register the list of selected reviews
	 * @param File[] aListSelectedReview
	 */
	public void setReviewListSelection(File[] aListSelectedReview);
	
	/**
	 * Generate the selected report
	 * @param String agroupFile File of the Group
	 */
	public void handleReportGeneration(final String  agroupFile);
	
	/**
	 * Test if the report type selected is an inspection record
	 * 
	 * @return Boolean
	 */
	public Boolean isInspectionRecord();
	
	/**
	 * Count the number of selected review
	 * 
	 * @return int
	 */
	public int selectedReviewNumber();
	
}

Back to the top