Skip to content

Package: EMFFormsSpreadsheetReport

EMFFormsSpreadsheetReport

nameinstructionbranchcomplexitylinemethod
EMFFormsSpreadsheetReport(String, int)
M: 0 C: 5
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 2
100%
M: 0 C: 1
100%
EMFFormsSpreadsheetReport(Throwable, int)
M: 0 C: 5
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 2
100%
M: 0 C: 1
100%

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2011-2015 EclipseSource Muenchen GmbH and others.
3: *
4: * All rights reserved. This program and the accompanying materials
5: * are made available under the terms of the Eclipse Public License 2.0
6: * which accompanies this distribution, and is available at
7: * https://www.eclipse.org/legal/epl-2.0/
8: *
9: * SPDX-License-Identifier: EPL-2.0
10: *
11: * Contributors:
12: * Eugen Neufeld - initial API and implementation
13: ******************************************************************************/
14: package org.eclipse.emfforms.spi.spreadsheet.core;
15:
16: import org.eclipse.emfforms.spi.common.report.AbstractReport;
17:
18: /**
19: * The report to use for the {@link org.eclipse.emfforms.spi.common.report.ReportService ReportService} during the
20: * Spreadsheet
21: * export or import.
22: *
23: * @author Eugen Neufeld
24: *
25: */
26: public class EMFFormsSpreadsheetReport extends AbstractReport {
27:
28:         /**
29:          * Constant for the INFO severity.
30:          */
31:         public static final int INFO = 1;
32:         /**
33:          * Constant for the WARNING severity.
34:          */
35:         public static final int WARNING = 2;
36:         /**
37:          * Constant for the ERROR severity.
38:          */
39:         public static final int ERROR = 4;
40:
41:         /**
42:          * Default constructor with a {@link Throwable}.
43:          *
44:          * @param throwable The {@link Throwable} to report
45:          * @param severity The severity of the report
46:          */
47:         public EMFFormsSpreadsheetReport(Throwable throwable, int severity) {
48:                 super(throwable, severity);
49:         }
50:
51:         /**
52:          * Default constructor with a message.
53:          *
54:          * @param message The message to report
55:          * @param severity The severity of the report
56:          */
57:         public EMFFormsSpreadsheetReport(String message, int severity) {
58:                 super(message, severity);
59:         }
60: }