|
||||||||||
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_ABBREVIATION
name of the 'abbreviation' attribute in the extension points. |
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 |
DEFAULT_CATEGORY_ID
id of the default category. |
static String |
ELEMENT_ANALYSIS_BUNDLE
name of the 'bundle' element. |
static String |
ELEMENT_ANALYSIS_CATEGORY
name of the 'category' element. |
static String |
ELEMENT_ANALYSIS_COMPONENT
name of the 'component' element. |
static String |
ELEMENT_ANALYSIS_DEPENDENCY
name of the 'dependency' element. |
static String |
ELEMENT_ANALYSIS_PROVIDER
name of the 'provider' element. |
static String |
EXTP_ID_ANALYSIS_PROVIDERS
identifier of the extension point for analysis providers. |
Method Summary | |
---|---|
void |
analysisAdded(AbstractInfoAnalysis analysis)
Called when an analysis is added to a bundle. |
void |
analysisRemoved(AbstractInfoAnalysis analysis)
Called when an analysis is removed from a bundle. |
Collection<AbstractInfoAnalysis> |
getAnalyses()
Returns the analyses. |
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. |
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_DEPENDENCY
public static final String ELEMENT_ANALYSIS_COMPONENT
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_ABBREVIATION
public static final String DEFAULT_CATEGORY_ID
Method Detail |
---|
public static AnalysisServices getInstance()
public List<AnalysisCategory> getCategories()
public Collection<AbstractInfoAnalysis> getAnalyses()
public AnalysisCategory getCategoryById(String id)
id
- the id
public AbstractInfoAnalysis getAnalysisById(String id)
id
- the id
public List<AbstractInfoAnalysis> getExecutionOrder(List<AbstractInfoAnalysis> analyses)
analyses
- the analyses
public void analysisAdded(AbstractInfoAnalysis analysis)
analysisAdded
in interface IBundleChangedListener
analysis
- the analysispublic void analysisRemoved(AbstractInfoAnalysis analysis)
analysisRemoved
in interface IBundleChangedListener
analysis
- the analysis
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |