Skip to content

Package: ReportServiceConsumer

ReportServiceConsumer

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2011-2014 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: * Edgar Mueller - initial API and implementation
13: ******************************************************************************/
14: package org.eclipse.emfforms.spi.common.report;
15:
16: /**
17: * Common base types for any {@link AbstractReport} consumer that may
18: * be added to the {@link ReportService} in order to be notified.
19: *
20: * @author emueller
21: * @since 1.5
22: */
23: public interface ReportServiceConsumer {
24:
25:         /**
26:          * Called when a {@link AbstractReport} has been received
27:          * by the {@link ReportService}.
28:          *
29:          * @param reportEntity
30:          * the received {@link AbstractReport}
31:          */
32:         void reported(AbstractReport reportEntity);
33:
34: }