@Target(value=ANNOTATION_TYPE) @Retention(value=RUNTIME) @ThingworxExtensionApiAnnotation(since={6,6}) public @interface ThingworxSubscription
Subscription
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
eventName
Required parameter: the name of the event to subscribe to. |
java.lang.String |
handler
Required parameter: the name of the service that should be invoked whenever the subscription receives an event. |
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
description
Optional parameter: A short description for the service. |
boolean |
enabled
Optional parameter: whether the subscription should listen for events. |
java.lang.String |
name
Optional parameter: The name of the Subscription. |
java.lang.String |
source
Optional parameter: the name of the entity to subscribe to for events. |
java.lang.String |
sourceProperty
Optional parameter: the name of the property that this subscription should monitor. |
public abstract java.lang.String eventName
public abstract java.lang.String handler
public abstract java.lang.String name
public abstract java.lang.String description
public abstract java.lang.String source