@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public final class ThingShapeInstance extends ThingShapeImplementation
Constructor and Description |
---|
ThingShapeInstance() |
Modifier and Type | Method and Description |
---|---|
EntityReference |
getContainer() |
IServiceHandler |
getEventHandler(java.lang.String handlerName)
Returns the event handler with the given name. |
EventHandlerSet |
getEventHandlers(java.lang.String subscriptionName)
Returns all event handlers with the given handler name. |
IServiceHandler |
getServiceHandler(java.lang.String serviceName) |
getSubscriptions
getDataShapeDefinitions, getEventDefinition, getEventDefinitions, getPropertyDefinition, getPropertyDefinitions, getServiceDefinition, getServiceDefinitions, hasEventDefinition, hasPropertyDefinition, hasServiceDefinition
@ThingworxExtensionApiMethod(since={6,6}) public IServiceHandler getServiceHandler(java.lang.String serviceName)
@ThingworxExtensionApiMethod(since={6,6}) public EntityReference getContainer()
@ThingworxExtensionApiMethod(since={6,6}) public IServiceHandler getEventHandler(java.lang.String handlerName)
handlerName
- - The String version of the handler name - usually the Subscription Name.null
if none are defined.@ThingworxExtensionApiMethod(since={8,4}, deprecatedSince={9,0}) public EventHandlerSet getEventHandlers(java.lang.String subscriptionName)
getEventHandler
instead.subscriptionName
- - The String version of the handler name - usually the Subscription Name.null
if none are defined.