Package com.thingworx.subscriptions
Class BaseSubscription
java.lang.Object
com.thingworx.types.events.EventDescriptor
com.thingworx.subscriptions.BaseSubscription
- All Implemented Interfaces:
IDiffableObject,IAspectContainer,INamedObject,Cloneable
- Direct Known Subclasses:
Subscription
@ThingworxExtensionApiClass(since={6,6},
canInstantiate=true)
public class BaseSubscription
extends EventDescriptor
implements IAspectContainer, INamedObject, Cloneable
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.thingworx.types.events.EventDescriptor
getAlertName, getEventDescriptor, getEventName, getSource, getSourceProperty, isAlertEvent, isAnyEvent, isPostCommitEvent, isPropertyEvent, setAlertName, setEventName, setSource, setSourceProperty
-
Constructor Details
-
BaseSubscription
public BaseSubscription()Initializes this instace with default values.
-
-
Method Details
-
getName
Gets the name of the subscription. Before 8.4.0, Subscriptions did not have names, so this method maintains backwards compatibility by setting the name from the event descriptor if no name is provided before this method is called.- Specified by:
getNamein interfaceINamedObject
-
getDescription
- Specified by:
getDescriptionin interfaceINamedObject
-
isEnabled
-
isAsync
-