Class NotificationChannel

java.lang.Object
org.netxms.client.NotificationChannel

public class NotificationChannel extends Object
Represents NetXMS server's notification channel
  • Field Details

  • Constructor Details

    • NotificationChannel

      protected NotificationChannel(NXCPMessage msg, long baseId)
      Create notification channel object from NXCP message
      Parameters:
      msg - NXCP message
      baseId - base field ID
    • NotificationChannel

      public NotificationChannel()
      Create empty notification channel object.
  • Method Details

    • fillMessage

      public void fillMessage(NXCPMessage msg)
      Fill NXCP message with action's data
      Parameters:
      msg - NXCP message
    • getName

      public String getName()
      Get channel name.
      Returns:
      channel name
    • setName

      public void setName(String name)
      Parameters:
      name - the name to set
    • getDescription

      public String getDescription()
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Parameters:
      description - the description to set
    • getDriverName

      public String getDriverName()
      Returns:
      the driverName
    • setDriverName

      public void setDriverName(String driverName)
      Parameters:
      driverName - the driverName to set
    • getConfiguration

      public String getConfiguration()
      Returns:
      the configuration
    • setConfiguration

      public void setConfiguration(String configuration)
      Parameters:
      configuration - the configuration to set
    • getConfigurationTemplate

      public NCConfigurationTemplate getConfigurationTemplate()
      Returns:
      the configurationTemplate
    • isActive

      public boolean isActive()
      Returns:
      the isActive
    • getErrorMessage

      public String getErrorMessage()
      Returns:
      the errorMessage
    • getSendStatus

      public int getSendStatus()
      Returns:
      the lastStatus
    • getHealthCheckStatus

      public boolean getHealthCheckStatus()
      Returns:
      the healthCheckStatus
    • getLastMessageTimestamp

      public Date getLastMessageTimestamp()
      Returns:
      the lastMessageTimestamp
    • getMessageCount

      public int getMessageCount()
      Returns:
      the messageCount
    • getFailureCount

      public int getFailureCount()
      Returns:
      the failureCount