@Target(value=METHOD) @Retention(value=RUNTIME) @ThingworxExtensionApiAnnotation(since={6,6}) public @interface ThingworxServiceDefinition
ThingworxServiceParameter
and
ThingworxServiceResult
annotations do not have any effect unless used on a method that has
this annotation applied.Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
name
Required parameter: the name of the service. |
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 field definition. |
java.lang.String |
category
Optional parameter: a category that conceptually groups together related services. |
java.lang.String |
description
Optional parameter: : a short description for the service. |
boolean |
isAllowOverride
Optional parameter: specifies if the service should be overridable by other thing templates or things. |
boolean |
isDefinitionOnly
Optional parameter: specifies that the service definition is only intended to describe the service and should fail if invoked. |
boolean |
isLocalOnly
Optional parameter: specifies whether the service should be reflected in metadata when external-only metadata is requested. |
boolean |
isOpen
Deprecated.
|
boolean |
isPrivate
Optional parameter: indicates whether the service is intended for use by end users and other extensions, or if it is only intended for use within this extension. |
public abstract java.lang.String name
public abstract java.lang.String description
public abstract java.lang.String category
public abstract boolean isPrivate
public abstract boolean isLocalOnly
public abstract boolean isDefinitionOnly
public abstract boolean isAllowOverride
@Deprecated public abstract boolean isOpen
public abstract java.lang.String[] aspects
Aspects