Class ObserveEvent$

  • All Implemented Interfaces:
    java.io.Serializable

    public class ObserveEvent$
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static ObserveEvent$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Constructor Summary

      Constructors 
      Constructor Description
      ObserveEvent$()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ObserveEvent apply​(Prefix source, EventName eventName)
      The apply method is used to create ObserveEvent command by end-user.
      ObserveEvent apply​(Prefix source, EventName eventName, scala.collection.immutable.Set<Parameter<?>> paramSet)
      The apply method is used to create ObserveEvent command by end-user.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE$

        public static final ObserveEvent$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • ObserveEvent$

        public ObserveEvent$()
    • Method Detail

      • apply

        public ObserveEvent apply​(Prefix source,
                                  EventName eventName)
        The apply method is used to create ObserveEvent command by end-user. eventId is not accepted and will be created internally to guarantee unique value.

        Parameters:
        source - prefix representing source of the event
        eventName - the name of event
        Returns:
        a new instance of ObserveEvent with auto-generated eventId, eventTime and empty paramSet
      • apply

        public ObserveEvent apply​(Prefix source,
                                  EventName eventName,
                                  scala.collection.immutable.Set<Parameter<?>> paramSet)
        The apply method is used to create ObserveEvent command by end-user. eventId is not accepted and will be created internally to guarantee unique value.

        Parameters:
        source - prefix representing source of the event
        eventName - the name of event
        paramSet - an initial set of parameters (keys with values)
        Returns:
        a new instance of ObserveEvent with auto-generated eventId and eventTime