edu.cmu.sei.aadl.modelsupport.errorreporting
Class LogAnalysisErrorReporter.Factory

java.lang.Object
  extended by edu.cmu.sei.aadl.modelsupport.errorreporting.LogAnalysisErrorReporter.Factory
All Implemented Interfaces:
AnalysisErrorReporterFactory
Enclosing class:
LogAnalysisErrorReporter

public static final class LogAnalysisErrorReporter.Factory
extends java.lang.Object
implements AnalysisErrorReporterFactory


Constructor Summary
LogAnalysisErrorReporter.Factory(org.osgi.framework.Bundle b)
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogAnalysisErrorReporter.Factory

public LogAnalysisErrorReporter.Factory(org.osgi.framework.Bundle b)
Method Detail

getReporterFor

public AnalysisErrorReporter getReporterFor(org.eclipse.emf.ecore.resource.Resource rsrc)
Description copied from interface: AnalysisErrorReporterFactory
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.

Specified by:
getReporterFor in interface AnalysisErrorReporterFactory
Parameters:
rsrc - The EMF Resource representing the AAXL object model
Returns:
The error reporter to be used for the file. Must not be null.