Class EventUtilities

  • java.lang.Object
    • com.thingworx.entities.utils.EventUtilities
    • Constructor Summary

      Constructors 
      Constructor Description
      EventUtilities()  
    • Constructor Detail

      • EventUtilities

        public EventUtilities()
    • Method Detail

      • eventFromInfoTableRow

        @ThingworxExtensionApiMethod(since={7,4})
        public static ThingworxEvent eventFromInfoTableRow​(ValueCollection row)
                                                    throws java.lang.Exception


        Converts an event from an InfoTable row (with the Event data shape) into a ThingworxEvent instance.
        Parameters:
        row - The row of the InfoTable
        Returns:
        The populated ThingworxEvent
        Throws:
        java.lang.Exception - if the provided row does not match the Event datashape