Kieker 1.9

kieker.analysis.plugin.annotation
Annotation Type RepositoryPort


@Retention(value=RUNTIME)
@Target(value=ANNOTATION_TYPE)
@Inherited
public @interface RepositoryPort

This annotation can be used to describe the repository ports of a plugin. It can only be used within other annotations. It allows to specify the name of the repository port and the corresponding repository type. There is also a field for a human-readable description available.

Since:
1.5
Author:
Nils Christian Ehmke

Required Element Summary
 String name
          The name which is used to identify this port.
 
Optional Element Summary
 String description
          The human-readable description of this port.
 Class<? extends AbstractRepository> repositoryType
          The event types which are used for this port.
 

Element Detail

name

public abstract String name
The name which is used to identify this port. It should be unique within the class.

Returns:
The name of this port.

description

public abstract String description
The human-readable description of this port.

Returns:
The description for this port.
Default:
"Repository Port"

repositoryType

public abstract Class<? extends AbstractRepository> repositoryType
The event types which are used for this port. If this is empty, everything can be sent through the port.

Returns:
The event types for this class.
Default:
kieker.analysis.repository.AbstractRepository.class

Kieker 1.9

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