JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Summary:
Field |
Optional
|
Required
Detail:
Field |
Element
SEARCH:
Package
de.julianweinelt.datacat.dbx.api.events
Annotation Interface Subscribe
@Retention
(
RUNTIME
)
@Target
(
METHOD
)
public @interface
Subscribe
Marks a method as an event subscriber for a specific event. The annotation takes a
String
as a parameter to specify for which event the method is subscribing. Additionally, it allows setting a priority for the event listener using the
Priority
enum
Required Element Summary
Required Elements
Modifier and Type
Required Element
Description
String
value
Optional Element Summary
Optional Elements
Modifier and Type
Optional Element
Description
Priority
priority
Element Details
value
String
value
priority
Priority
priority
Default:
NORMAL