public static final class ChainedAnalysisErrorReporter.Factory extends java.lang.Object implements AnalysisErrorReporterFactory
Constructor and Description |
---|
ChainedAnalysisErrorReporter.Factory(AnalysisErrorReporterFactory[] factories)
Create a new factory that creates an analysis error reporter that
delegates to error reporters generated by the given list of
factories.
|
Modifier and Type | Method and Description |
---|---|
AnalysisErrorReporter |
getReporterFor(org.eclipse.emf.ecore.resource.Resource rsrc)
Obtain an error reporter to use for AAXL
Resource that holds
an AADL Object model. |
public ChainedAnalysisErrorReporter.Factory(AnalysisErrorReporterFactory[] factories)
factories
- The factories to use to generate the delegates. This array
is referenced directly. The caller should not keep a
reference to it.public AnalysisErrorReporter getReporterFor(org.eclipse.emf.ecore.resource.Resource rsrc)
AnalysisErrorReporterFactory
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
.getReporterFor
in interface AnalysisErrorReporterFactory
rsrc
- The EMF Resource representing the AAXL object modelnull
.