Class Telemetry


  • public class Telemetry
    extends Object
    Telemetry V3 POJO to generate telemetry event.
    Author:
    mahesh
    • Constructor Detail

      • Telemetry

        public Telemetry​(String eid,
                         long ets,
                         String ver,
                         Actor actor,
                         Context context,
                         Map<String,​Object> edata)
        Parameters:
        eid - event id
        ets - event timestamp
        ver - version
        actor - actor of the event
        context - context of the event
        edata - edata of the event
      • Telemetry

        public Telemetry​(String eid,
                         Actor actor,
                         Context context,
                         Map<String,​Object> edata)
        Parameters:
        eid - event id
        actor - actor of the event
        context - context of the event
        edata - edata of the event
      • Telemetry

        public Telemetry​(String eid,
                         Actor actor,
                         Context context,
                         Map<String,​Object> edata,
                         List<Map<String,​Object>> cdata)
        Parameters:
        eid - event id
        actor - actor of the event
        context - context of the event
        edata - edata of the event
        cdata - cdata of the event
    • Method Detail

      • getEid

        public String getEid()
        Returns:
        the eid event id
      • setEid

        public void setEid​(String eid)
        Parameters:
        eid - the eid to set
      • getEts

        public long getEts()
        Returns:
        long the ets
      • setEts

        public void setEts​(long ets)
        Parameters:
        ets - the ets to set
      • getVer

        public String getVer()
        Returns:
        String the ver
      • setVer

        public void setVer​(String ver)
        Parameters:
        ver - the ver to set
      • getMid

        public String getMid()
        Returns:
        String the mid
      • setMid

        public void setMid​(String mid)
        Parameters:
        mid - the mid to set
      • getActor

        public Actor getActor()
        Returns:
        Actor the actor
      • setActor

        public void setActor​(Actor actor)
        Parameters:
        actor - the actor to set
      • getContext

        public Context getContext()
        Returns:
        Context the context
      • setContext

        public void setContext​(Context context)
        Parameters:
        context - the context to set
      • getObject

        public Target getObject()
        Returns:
        Target the object
      • setObject

        public void setObject​(Target object)
        Parameters:
        object - the object to set
      • getEdata

        public Map<String,​Object> getEdata()
        Returns:
        Map the edata
      • setEdata

        public void setEdata​(Map<String,​Object> edata)
        Parameters:
        edata - the edata to set
      • getTags

        public List<String> getTags()
        Returns:
        List the tags
      • setTags

        public void setTags​(List<String> tags)
        Parameters:
        tags - the tags to set
      • setCdata

        public void setCdata​(List<Map<String,​Object>> cdata)
        Parameters:
        cdata - cdata of the event
      • getSyncts

        public Long getSyncts()
        Returns:
        Long
      • setSyncts

        public void setSyncts​(Long syncts)
        Parameters:
        syncts - sync timestamp of the event