Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.emfforms.spi.common.report
Interface ReportService

All Known Implementing Classes:
  ReportServiceImpl

    public interface ReportService

Service for reporting and aggregating errors.

Since:
  1.5
Author:
  emueller

Method Summary
`void` | `addConsumer(ReportServiceConsumer consumer)` Adds a `ReportServiceConsumer` that consumes `ReportEntities`.
`void` | `clearReports()` Discards all ReportEntities.
`List<AbstractReport>` | `getReports()` Returns all ReportEntities.
`void` | `removeConsumer(ReportServiceConsumer consumer)` Removes a `ReportServiceConsumer`.
`void` | `report(AbstractReport reportEntity)` Report an `AbstractReport` to the service.

Method Detail

### report

    void report(AbstractReport reportEntity)

  Report an `AbstractReport` to the service.

  Parameters:
    `reportEntity` - the report entity

### getReports

    List<AbstractReport> getReports()

  Returns all ReportEntities.

  Returns:
    all ReportEntities

### clearReports

    void clearReports()

  Discards all ReportEntities.

### addConsumer

    void addConsumer(ReportServiceConsumer consumer)

  Adds a `ReportServiceConsumer` that consumes `ReportEntities`.

  Parameters:
    `consumer` - a `ReportServiceConsumer`

### removeConsumer

    void removeConsumer(ReportServiceConsumer consumer)

  Removes a `ReportServiceConsumer`.

  Parameters:
    `consumer` - the consumer to be removed

Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2015. All Rights Reserved.