Annotation Type InputPort
@Retention(RUNTIME)
@Target(METHOD)
@Inherited
@Deprecated
public @interface InputPort
Deprecated.
since 1.15.1 old plugin api
This annotation can be used to mark methods as input ports. The corresponding methods should only get an instance of the class
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.
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.
- 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:
- "Input Port"
-
eventTypes
java.lang.Class<?>[] eventTypesDeprecated.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:
- {}
-