edu.cmu.sei.aadl.modelsupport.errorreporting
Interface AnalysisErrorReporterFactory

All Known Implementing Classes:
AnalysisToParseErrorReporterAdapter.Factory, ChainedAnalysisErrorReporter.Factory, LogAnalysisErrorReporter.Factory, MarkerAnalysisErrorReporter.Factory, StringBufferAnalysisErrorReporter.Factory, WriterAnalysisErrorReporter.Factory

public interface AnalysisErrorReporterFactory

Defines the interface for factories that create instances of edu.cmu.sei.aadl.model.pluginsupport.AnalysisErrorReporter.

Author:
aarong
See Also:
edu.cmu.sei.aadl.model.pluginsupport.AnalysisErrorReporter, edu.cmu.sei.aadl.model.pluginsupport.AnalysisErrorReporterManager, edu.cmu.sei.aadl.model.pluginsupport.ParseErrorReporter

Method Summary
 AnalysisErrorReporter getReporterFor(org.eclipse.emf.ecore.resource.Resource rsrc)
          Obtain an error reporter to use for AAXL Resource that holds an AADL Object model.
 

Method Detail

getReporterFor

AnalysisErrorReporter getReporterFor(org.eclipse.emf.ecore.resource.Resource rsrc)
Obtain an error reporter to use for AAXL Resource that holds an AADL Object model. This method must never return null. If no factory can be found/created then it must throw a IllegalArgumentException.

Parameters:
rsrc - The EMF Resource representing the AAXL object model
Returns:
The error reporter to be used for the file. Must not be null.
Throws:
java.lang.IllegalArgumentException - Thrown if the factory is unable to create an error reporter for the given resource.