Kieker 1.7

kieker.analysis.repository
Class AbstractRepository

java.lang.Object
  extended by kieker.analysis.analysisComponent.AbstractAnalysisComponent
      extended by kieker.analysis.repository.AbstractRepository
All Implemented Interfaces:
IAnalysisComponent, IRepository
Direct Known Subclasses:
DescriptionRepository, SystemModelRepository, TraceColorRepository

public abstract class AbstractRepository
extends AbstractAnalysisComponent
implements IRepository

This class should be used as a base for every repository used within Kieker.

Since:
1.5
Author:
Nils Christian Ehmke?

Field Summary
 
Fields inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent
CONFIG_NAME
 
Constructor Summary
AbstractRepository(Configuration configuration)
          Deprecated. To be removed in Kieker 1.8.
AbstractRepository(Configuration configuration, IProjectContext projectContext)
          The second "default constructor".
 
Method Summary
 String getRepositoryDescription()
          This method delivers the description of this repository type.
 String getRepositoryName()
          This method delivers the repository name of this repository type.
 
Methods inherited from class kieker.analysis.analysisComponent.AbstractAnalysisComponent
getCurrentConfiguration, getName, setProjectContext
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface kieker.analysis.analysisComponent.IAnalysisComponent
getCurrentConfiguration, getName
 

Constructor Detail

AbstractRepository

@Deprecated
public AbstractRepository(Configuration configuration)
Deprecated. To be removed in Kieker 1.8.

Each Repository requires a constructor with a single Configuration object!

Parameters:
configuration - The configuration for this repository.

AbstractRepository

public AbstractRepository(Configuration configuration,
                          IProjectContext projectContext)
The second "default constructor".

Parameters:
configuration - The configuration for this component.
projectContext - The project context for this component. The component will be registered.
Method Detail

getRepositoryName

public final String getRepositoryName()
This method delivers the repository name of this repository type. The name should be unique, e.g., the classname.

Specified by:
getRepositoryName in interface IRepository
Returns:
The name of the repository type.

getRepositoryDescription

public final String getRepositoryDescription()
This method delivers the description of this repository type.

Specified by:
getRepositoryDescription in interface IRepository
Returns:
The description of the repository type.

Kieker 1.7

Copyright 2013 Kieker Project, http://kieker-monitoring.net