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