|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.kiml.grana.AnalysisServices
public final class AnalysisServices
Singleton class for global access to the KIML graph analysis services.
Field Summary | |
---|---|
static String |
ATTRIBUTE_ANALYSIS
name of the 'analysis' attribute in the extension points. |
static String |
ATTRIBUTE_CATEGORY
name of the 'category' attribute in the extension points. |
static String |
ATTRIBUTE_CLASS
name of the 'class' attribute in the extension points. |
static String |
ATTRIBUTE_DESCRIPTION
name of the 'description' attribute in the extension points. |
static String |
ATTRIBUTE_ID
name of the 'id' attribute in the extension points. |
static String |
ATTRIBUTE_NAME
name of the 'name' attribute in the extension points. |
static String |
ATTRIBUTE_PRIORITY
name of the 'priority' attribute in the extension points. |
static String |
DEFAULT_CATEGORY_ID
id of the default category. |
static String |
ELEMENT_ANALYSIS_BUNDLE
name of the 'analysisBundle' element in the 'analysis providers' extension point. |
static String |
ELEMENT_ANALYSIS_CATEGORY
name of the 'analysisCategory' element in the 'analysis providers' extension point. |
static String |
ELEMENT_ANALYSIS_DEPENDENCY
name of the 'analysisDependency' element in the 'analysis providers' extension point. |
static String |
ELEMENT_ANALYSIS_PROVIDER
name of the 'analysisProvider' element in the 'analysis providers' extension point. |
static String |
ELEMENT_ANALYSIS_RESULT_VISUALIZER
name of the 'analysisResultVisualizer' element in the 'analysis providers' extension point. |
static String |
EXTP_ID_ANALYSIS_PROVIDERS
identifier of the extension point for analysis providers. |
Method Summary | |
---|---|
void |
analysisAdded(AbstractAnalysisBundle abstractAnalysisBundle,
AbstractInfoAnalysis analysis)
Called when an analysis is added to the bundle. |
void |
analysisRemoved(AbstractAnalysisBundle abstractAnalysisBundle,
AbstractInfoAnalysis analysis)
Called when an analysis is removed from the bundle. |
AbstractInfoAnalysis |
getAnalysisById(String id)
Returns the analysis specified by id or null if no such analysis exists. |
List<AnalysisCategory> |
getCategories()
Returns the categories. |
AnalysisCategory |
getCategoryById(String id)
Returns the category specified by id or null if no such category exists. |
List<AbstractInfoAnalysis> |
getExecutionOrder(List<AbstractInfoAnalysis> analyses)
Takes a list of analyses and returns a list that includes the given analysis and their dependencies in an order so that all dependencies of an analysis are listed before it. |
static AnalysisServices |
getInstance()
Returns the singleton instance. |
List<AbstractAnalysisResultVisualizer> |
getVisualizers()
Returns the visualizers. |
String |
visualizeResult(Object result)
Calls appropriate visualizers for the given result. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String EXTP_ID_ANALYSIS_PROVIDERS
public static final String ELEMENT_ANALYSIS_PROVIDER
public static final String ELEMENT_ANALYSIS_BUNDLE
public static final String ELEMENT_ANALYSIS_CATEGORY
public static final String ELEMENT_ANALYSIS_RESULT_VISUALIZER
public static final String ELEMENT_ANALYSIS_DEPENDENCY
public static final String ATTRIBUTE_ANALYSIS
public static final String ATTRIBUTE_CATEGORY
public static final String ATTRIBUTE_CLASS
public static final String ATTRIBUTE_DESCRIPTION
public static final String ATTRIBUTE_ID
public static final String ATTRIBUTE_NAME
public static final String ATTRIBUTE_PRIORITY
public static final String DEFAULT_CATEGORY_ID
Method Detail |
---|
public static AnalysisServices getInstance()
public List<AnalysisCategory> getCategories()
public List<AbstractAnalysisResultVisualizer> getVisualizers()
public AnalysisCategory getCategoryById(String id)
id
- the id
public AbstractInfoAnalysis getAnalysisById(String id)
id
- the id
public String visualizeResult(Object result)
result
- the result to visualize
public List<AbstractInfoAnalysis> getExecutionOrder(List<AbstractInfoAnalysis> analyses)
analyses
- the analyses
public void analysisAdded(AbstractAnalysisBundle abstractAnalysisBundle, AbstractInfoAnalysis analysis)
analysisAdded
in interface IBundleChangedListener
abstractAnalysisBundle
- the bundleanalysis
- the analysispublic void analysisRemoved(AbstractAnalysisBundle abstractAnalysisBundle, AbstractInfoAnalysis analysis)
analysisRemoved
in interface IBundleChangedListener
abstractAnalysisBundle
- the bundleanalysis
- the analysis
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |