@Target(value=ANNOTATION_TYPE) @Retention(value=RUNTIME) @ThingworxExtensionApiAnnotation(since={6,6}) public @interface ThingworxEventDefinition
ThingworxEvent
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
dataShape
Required parameter: a name referencing a data shape entity that describes the data payload tied to this event. |
java.lang.String |
name
Required parameter: the name of the event. |
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String[] |
aspects
Optional parameter: an array of key-value pairs associated with colons (e.g., "aspect1:value1", "aspect2:value2", …) describing aspects applicable to the event definition. |
java.lang.String |
category
Optional parameter: a category that conceptually groups together related events. |
java.lang.String |
description
Optional parameter: a short description for the event. |
boolean |
isInvocable
Optional parameter: determines whether the event can be invoked via the REST API. |
boolean |
isLocalOnly
Optional parameter: specifies whether the event definition should be reflected in metadata when external-only metadata is requested. |
boolean |
isPropertyEvent
Optional parameter: specifies whether the event is tied to a specific property belonging to the entity that fired the event. |
ThingworxDataShapeDefinition |
localDataShape
Deprecated.
This parameter is not examined by the Platform.
|
public abstract java.lang.String name
public abstract java.lang.String dataShape
public abstract java.lang.String description
public abstract java.lang.String category
public abstract boolean isInvocable
public abstract boolean isPropertyEvent
public abstract boolean isLocalOnly
@Deprecated public abstract ThingworxDataShapeDefinition localDataShape
public abstract java.lang.String[] aspects
Aspects