Class SystemAddedEvent


public class SystemAddedEvent extends SystemEvent

Event sent when a system is added to the hub or to a parent system

  • Constructor Details

    • SystemAddedEvent

      public SystemAddedEvent(long timeStamp, String sysUID, String parentGroupUID)
      Parameters:
      timeStamp - time of event generation (unix time in milliseconds, base 1970)
      sysUID - Unique ID of added system
      parentGroupUID - ID of parent system (or null if system is not a member of any parent system)
    • SystemAddedEvent

      public SystemAddedEvent(String sysUID, String parentGroupUID)
      Helper constructor that sets the timestamp to current system time
  • Method Details

    • getParentGroupUID

      public String getParentGroupUID()
      Returns:
      Unique ID of parent system