Traceability

tte.impl
Class ProjectAnalyzer

java.lang.Object
  extended by tte.impl.ProjectAnalyzer

public class ProjectAnalyzer
extends java.lang.Object

Class defining methods to do the analysis of a Topcased Traceability Model project.


Constructor Summary
ProjectAnalyzer(java.lang.String projectFnString)
          Creates a new instance of ProjectAnalyzer.
 
Method Summary
protected static void printDiagnostic(Diagnostic diagnostic, java.lang.String indent, java.lang.StringBuffer buff)
          Prints diagnostics with indentation.
 Resource runAnalysis(ResourceSet resourceSet)
          Runs the analysis.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectAnalyzer

public ProjectAnalyzer(java.lang.String projectFnString)
Creates a new instance of ProjectAnalyzer.

Parameters:
projectFnString - the project filename
Method Detail

printDiagnostic

protected static void printDiagnostic(Diagnostic diagnostic,
                                      java.lang.String indent,
                                      java.lang.StringBuffer buff)
                               throws AnalysisException
Prints diagnostics with indentation.

Parameters:
diagnostic - the diagnostic to print.
indent - the indentation for printing.
Throws:
AnalysisException

runAnalysis

public final Resource runAnalysis(ResourceSet resourceSet)
                           throws AnalysisException
Runs the analysis.

Parameters:
resourceSet - the resource set used during analysis
Returns:
the resource created during analysis
Throws:
AnalysisException - when exception occurs during analysis

Traceability

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.