Annotation Type OutputPort
@Retention(RUNTIME)
@Target(ANNOTATION_TYPE)
@Inherited
@Deprecated
public @interface OutputPort
Deprecated.
since 1.15.1 old plugin api
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
Required Elements Modifier and Type Required Element Description java.lang.String
name
Deprecated.The name which is used to identify this port. -
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
description
Deprecated.The human-readable description of this port.java.lang.Class<?>[]
eventTypes
Deprecated.The event types which are used for this port.
-
Element Details
-
name
java.lang.String nameDeprecated.The name which is used to identify this port. It should be unique within the class.- Returns:
- The name of this port.
-
-
-
description
java.lang.String descriptionDeprecated.The human-readable description of this port.- Returns:
- The description for this port.
- Default:
- "Output Port"
-
eventTypes
java.lang.Class<?>[] eventTypesDeprecated.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:
- {}
-