com.togethersoft.sca.core
Interface IAnalyzerRegistry


public interface IAnalyzerRegistry

The analyzer registry holds the master list of all discovered analyzers, and analyzer categories.

The analyzer registry can be enumerated or queried, by name.

This interface is not intended to be implemented by clients.


Method Summary
 IAnalyzerCategory[] getCategories()
          Returns all the analyzer categories known to this analyzer registry.
 IAnalyzerCategory getCategory(java.lang.String id)
          Returns the analyzer category with the given identifier in this analyzer registry, or null if there is no such analyzer.
 IAnalyzerDescriptor getDescriptor(java.lang.String id)
          Returns the analyzer descriptor with the given identifier in this analyzer registry, or null if there is no such analyzer.
 IAnalyzerDescriptor[] getDescriptors()
          Returns all the analyzer descriptors known to this analyzer registry.
 

Method Detail

getCategories

public IAnalyzerCategory[] getCategories()
Returns all the analyzer categories known to this analyzer registry. Returns an empty array if there are no installed categories.
Returns:
the analyzer categories known to this analyzer registry

getCategory

public IAnalyzerCategory getCategory(java.lang.String id)
Returns the analyzer category with the given identifier in this analyzer registry, or null if there is no such analyzer.
Parameters:
id - the unique identifier of the category
Returns:
the analyzer category, or null

getDescriptor

public IAnalyzerDescriptor getDescriptor(java.lang.String id)
Returns the analyzer descriptor with the given identifier in this analyzer registry, or null if there is no such analyzer.
Parameters:
id - the unique identifier of the analyzer
Returns:
the analyzer descriptor, or null

getDescriptors

public IAnalyzerDescriptor[] getDescriptors()
Returns all the analyzer descriptors known to this analyzer registry. Returns an empty array if there are no installed analyzers.
Returns:
the analyzer descriptors known to this analyzer registry