Class DescriptionRepository
java.lang.Object
kieker.analysis.analysisComponent.AbstractAnalysisComponent
kieker.analysis.repository.AbstractRepository
kieker.tools.trace.analysis.repository.DescriptionRepository
- All Implemented Interfaces:
IAnalysisComponent,IRepository
Deprecated.
since 2.0.0
Implementation of a description repository which stores descriptions for names.
- Since:
- 1.6
- Author:
- Holger Knoche
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated.This class groups the data required for aDescriptionRepository. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.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, logger, projectContext, recordsTimeUnitFromProjectContext -
Constructor Summary
ConstructorsConstructorDescriptionDescriptionRepository(Configuration configuration, IProjectContext projectContext) Deprecated.Creates a new description repository using the given configuration.DescriptionRepository(Configuration configuration, DescriptionRepository.DescriptionRepositoryData descriptionData, IProjectContext projectContext) Deprecated.Creates a new description repository using the given data. -
Method Summary
Modifier and TypeMethodDescriptionstatic DescriptionRepositorycreateFromFile(String fileName, IProjectContext projectContext) Deprecated.Initializes a new description repository from the given file.Deprecated.This method should deliver aConfigurationobject containing the current configuration of this instance.Deprecated.Returns the description map (node id -> description) contained in this repository.Methods inherited from class kieker.analysis.repository.AbstractRepository
getDefaultConfiguration, getRepositoryDescription, getRepositoryNameMethods inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent
getNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface kieker.analysis.analysisComponent.IAnalysisComponent
getName
-
Field Details
-
CONFIG_PROPERTY_NAME_DESCRIPTION_FILE_NAME
Deprecated.Name of the configuration property that contains the file name of the description file.- See Also:
-
-
Constructor Details
-
DescriptionRepository
public DescriptionRepository(Configuration configuration, IProjectContext projectContext) throws IOException Deprecated.Creates a new description repository using the given configuration.- Parameters:
configuration- The configuration to useprojectContext- The project context for this plugin.- Throws:
IOException- If an I/O error occurs during initialization
-
DescriptionRepository
public DescriptionRepository(Configuration configuration, DescriptionRepository.DescriptionRepositoryData descriptionData, IProjectContext projectContext) Deprecated.Creates a new description repository using the given data.- Parameters:
configuration- The configuration to usedescriptionData- The description data to useprojectContext- The project context to use.
-
-
Method Details
-
getCurrentConfiguration
Deprecated.This method should deliver aConfigurationobject 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.- Specified by:
getCurrentConfigurationin interfaceIAnalysisComponent- Specified by:
getCurrentConfigurationin classAbstractAnalysisComponent- Returns:
- A completely filled configuration object.
-
getDescriptionMap
Deprecated.Returns the description map (node id -> description) contained in this repository.- Returns:
- See above
-
createFromFile
public static DescriptionRepository createFromFile(String fileName, IProjectContext projectContext) throws IOException Deprecated.Initializes a new description repository from the given file.- Parameters:
fileName- The name of the file to use.projectContext- The project context to use.- Returns:
- The initialized description repository
- Throws:
IOException- If an I/O error occurs
-