Class IncidentActivity

java.lang.Object
org.netxms.client.events.IncidentActivity

public class IncidentActivity extends Object
Incident activity log entry
  • Field Details

  • Constructor Details

    • IncidentActivity

      public IncidentActivity(NXCPMessage msg, long baseId)
      Create incident activity entry from NXCP message
      Parameters:
      msg - Source NXCP message
      baseId - Base variable ID for parsing
  • Method Details

    • getActivityTypeName

      public static String getActivityTypeName(int type)
      Get activity type name
      Parameters:
      type - Activity type
      Returns:
      Activity type name
    • getId

      public long getId()
      Get activity entry ID
      Returns:
      activity entry ID
    • getIncidentId

      public long getIncidentId()
      Get incident ID
      Returns:
      incident ID
    • getTimestamp

      public Date getTimestamp()
      Get activity timestamp
      Returns:
      activity timestamp
    • getUserId

      public long getUserId()
      Get user ID who performed the action
      Returns:
      user ID
    • getActivityType

      public int getActivityType()
      Get activity type
      Returns:
      activity type
    • getActivityTypeName

      public String getActivityTypeName()
      Get activity type name
      Returns:
      activity type name
    • getOldValue

      public String getOldValue()
      Get old value (for state changes, etc.)
      Returns:
      old value or null
    • getNewValue

      public String getNewValue()
      Get new value (for state changes, etc.)
      Returns:
      new value or null
    • getDetails

      public String getDetails()
      Get activity details
      Returns:
      activity details or null
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also: