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 public class DescriptionRepository extends AbstractRepository
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 Classes Modifier and Type Class Description static class
DescriptionRepository.DescriptionRepositoryData
Deprecated.This class groups the data required for aDescriptionRepository
. -
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CONFIG_PROPERTY_NAME_DESCRIPTION_FILE_NAME
Deprecated.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
Constructors Constructor Description DescriptionRepository(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 Type Method Description static DescriptionRepository
createFromFile(java.lang.String fileName, IProjectContext projectContext)
Deprecated.Initializes a new description repository from the given file.Configuration
getCurrentConfiguration()
Deprecated.This method should deliver aConfiguration
object containing the current configuration of this instance.java.util.Map<java.lang.String,java.lang.String>
getDescriptionMap()
Deprecated.Returns the description map (node id -> description) contained in this repository.Methods inherited from class kieker.analysis.repository.AbstractRepository
getDefaultConfiguration, getRepositoryDescription, getRepositoryName
-
Field Details
-
CONFIG_PROPERTY_NAME_DESCRIPTION_FILE_NAME
public static final java.lang.String CONFIG_PROPERTY_NAME_DESCRIPTION_FILE_NAMEDeprecated.Name of the configuration property that contains the file name of the description file.- See Also:
- Constant Field Values
-
-
Constructor Details
-
DescriptionRepository
public DescriptionRepository(Configuration configuration, IProjectContext projectContext) throws java.io.IOExceptionDeprecated.Creates a new description repository using the given configuration.- Parameters:
configuration
- The configuration to useprojectContext
- The project context for this plugin.- Throws:
java.io.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 aConfiguration
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.- Specified by:
getCurrentConfiguration
in interfaceIAnalysisComponent
- Specified by:
getCurrentConfiguration
in classAbstractAnalysisComponent
- Returns:
- A completely filled configuration object.
-
getDescriptionMap
public java.util.Map<java.lang.String,java.lang.String> getDescriptionMap()Deprecated.Returns the description map (node id -> description) contained in this repository.- Returns:
- See above
-
createFromFile
public static DescriptionRepository createFromFile(java.lang.String fileName, IProjectContext projectContext) throws java.io.IOExceptionDeprecated.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:
java.io.IOException
- If an I/O error occurs
-