Package io.quarkus.funqy.knative.events
Annotation Type CloudEventMapping
-
@Target(METHOD) @Retention(RUNTIME) @Documented public @interface CloudEventMapping
Describes input and output cloud events for function for Knative Cloud Events Applied to a @Funq method
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description EventAttribute[]attributesIf there is an extra requirement to match against cloud event attributes to find the function to be triggeredStringresponseSourceIf the function has output, this describes the cloud event source of the output event Defaults to function nameStringresponseTypeIf the function has output, this describes the cloud event type of the output event Defaults to {function}.outputStringtriggerDefines the cloud event type that will trigger the function Defaults to function name
-
-
-
Element Detail
-
trigger
String trigger
Defines the cloud event type that will trigger the function Defaults to function name- Returns:
- Default:
- ""
-
-
-
responseSource
String responseSource
If the function has output, this describes the cloud event source of the output event Defaults to function name- Returns:
- Default:
- ""
-
-
-
responseType
String responseType
If the function has output, this describes the cloud event type of the output event Defaults to {function}.output- Returns:
- Default:
- ""
-
-
-
attributes
EventAttribute[] attributes
If there is an extra requirement to match against cloud event attributes to find the function to be triggered- Returns:
- Default:
- {}
-
-