Kieker 1.9

kieker.analysis.plugin.annotation
Annotation Type OutputPort


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

This annotation can be used to describe the output ports of a plugin. It can only be used within other annotations. It allows to specify the name of the output port and the corresponding event types. 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<?>[] eventTypes
          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:
"Output Port"

eventTypes

public abstract Class<?>[] eventTypes
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 1.9

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