Kieker 1.6

kieker.analysis.plugin.annotation
Annotation Type InputPort


@Retention(value=RUNTIME)
@Target(value=METHOD)
@Inherited
public @interface InputPort

This annotation can be used to mark methods as input ports. The corresponding methods should only get an instance of the class Object and nothing else.
Furthermore the port allows to specify the event types for this port and the name. There is also a field for a human-readable description available.

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:
"Input Port"

eventTypes

public abstract Class<?>[] eventTypes
The event types which are used for this port. If this is empty, everything can be received through the port.

Returns:
The event types for this class.
Default:
{}

Kieker 1.6

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