|
Kieker 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kieker.analysis.analysisComponent.AbstractAnalysisComponent kieker.analysis.repository.AbstractRepository kieker.tools.traceAnalysis.repository.DescriptionRepository
public class DescriptionRepository
Implementation of a description repository which stores descriptions for names.
Nested Class Summary | |
---|---|
static class |
DescriptionRepository.DescriptionRepositoryData
This class groups the data required for a DescriptionRepository . |
Field Summary | |
---|---|
static String |
CONFIG_PROPERTY_NAME_DESCRIPTION_FILE_NAME
Name of the configuration property that contains the file name of the description file. |
Fields inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent |
---|
CONFIG_NAME |
Constructor Summary | |
---|---|
DescriptionRepository(Configuration configuration,
DescriptionRepository.DescriptionRepositoryData descriptionData,
IProjectContext projectContext)
Creates a new description repository using the given data. |
|
DescriptionRepository(Configuration configuration,
IProjectContext projectContext)
Creates a new description repository using the given configuration. |
Method Summary | |
---|---|
static DescriptionRepository |
createFromFile(String fileName,
IProjectContext projectContext)
Initializes a new description repository from the given file. |
Configuration |
getCurrentConfiguration()
This method should deliver a Configuration object containing the current configuration of this instance. In other words: The constructor should be
able to use the given object to initialize a new instance of this class with the same intern properties. |
Map<String,String> |
getDescriptionMap()
Returns the description map (node id -> description) contained in this repository. |
Methods inherited from class kieker.analysis.repository.AbstractRepository |
---|
getRepositoryDescription, getRepositoryName |
Methods inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent |
---|
getName |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface kieker.analysis.analysisComponent.IAnalysisComponent |
---|
getName |
Field Detail |
---|
public static final String CONFIG_PROPERTY_NAME_DESCRIPTION_FILE_NAME
Constructor Detail |
---|
public DescriptionRepository(Configuration configuration, IProjectContext projectContext) throws IOException
configuration
- The configuration to useprojectContext
- The project context for this plugin.
IOException
- If an I/O error occurs during initializationpublic DescriptionRepository(Configuration configuration, DescriptionRepository.DescriptionRepositoryData descriptionData, IProjectContext projectContext)
configuration
- The configuration to usedescriptionData
- The description data to useprojectContext
- The project context to use.Method Detail |
---|
public Configuration getCurrentConfiguration()
Configuration
object containing the current configuration of this instance. In other words: The constructor should be
able to use the given object to initialize a new instance of this class with the same intern properties.
getCurrentConfiguration
in interface IAnalysisComponent
getCurrentConfiguration
in class AbstractAnalysisComponent
public Map<String,String> getDescriptionMap()
public static DescriptionRepository createFromFile(String fileName, IProjectContext projectContext) throws IOException
fileName
- The name of the file to use.projectContext
- The project context to use.
IOException
- If an I/O error occurs
|
Kieker 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |