|
Kieker 1.11 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkieker.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 java.lang.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, configuration, log, LOG, projectContext, recordsTimeUnitFromProjectContext |
| 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(java.lang.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. |
java.util.Map<java.lang.String,java.lang.String> |
getDescriptionMap()
Returns the description map (node id -> description) contained in this repository. |
| Methods inherited from class kieker.analysis.repository.AbstractRepository |
|---|
getDefaultConfiguration, getRepositoryDescription, getRepositoryName |
| Methods inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent |
|---|
getName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface kieker.analysis.analysisComponent.IAnalysisComponent |
|---|
getName |
| Field Detail |
|---|
public static final java.lang.String CONFIG_PROPERTY_NAME_DESCRIPTION_FILE_NAME
| Constructor Detail |
|---|
public DescriptionRepository(Configuration configuration,
IProjectContext projectContext)
throws java.io.IOException
configuration - The configuration to useprojectContext - The project context for this plugin.
java.io.IOException - If an I/O error occurs during initialization
public 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 IAnalysisComponentgetCurrentConfiguration in class AbstractAnalysisComponentpublic java.util.Map<java.lang.String,java.lang.String> getDescriptionMap()
public static DescriptionRepository createFromFile(java.lang.String fileName,
IProjectContext projectContext)
throws java.io.IOException
fileName - The name of the file to use.projectContext - The project context to use.
java.io.IOException - If an I/O error occurs
|
Kieker 1.11 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||