Interface IEventProvider
- All Superinterfaces:
INamedObject
,IPersistable
- All Known Implementing Classes:
DataTableThing
,DataThing
,DataThingWithEvents
,FileRepositoryThing
,LogRetrievalStrategy
,NotificationHandler
,RemoteThing
,RemoteThingWithFileTransfer
,RemoteThingWithTunnels
,RemoteThingWithTunnelsAndFileTransfer
,ReportingStrategy
,SecurityMonitorThing
,StreamThing
,Thing
-
Method Summary
Modifier and TypeMethodDescriptionvoid
fireEvent
(EventDefinition eventDefinition, org.joda.time.DateTime timestamp, ValueCollection params) getInstanceEventDefinition
(String eventName) Methods inherited from interface com.thingworx.types.INamedObject
getDescription, getName
Methods inherited from interface com.thingworx.entities.interfaces.IPersistable
getID, hasID
-
Method Details
-
fireEvent
@ThingworxExtensionApiMethod(since={6,6}) void fireEvent(EventDefinition eventDefinition, org.joda.time.DateTime timestamp, ValueCollection params) throws Exception - Throws:
Exception
- If an error occurs
-
getInstanceEventDefinition
@ThingworxExtensionApiMethod(since={6,6}) EventDefinition getInstanceEventDefinition(String eventName) -
getInstanceEventDefinitions
-