Package org.netxms.client
Class NotificationChannel
- java.lang.Object
-
- org.netxms.client.NotificationChannel
-
public class NotificationChannel extends Object
Represents NetXMS server's action
-
-
Constructor Summary
Constructors Modifier Constructor Description NotificationChannel()protectedNotificationChannel(org.netxms.base.NXCPMessage msg, long base)Create server action object from NXCP message
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfillMessage(org.netxms.base.NXCPMessage msg)Fill NXCP message with action's dataStringgetConfiguration()NCConfigurationTemplategetConfigurationTemplate()StringgetDescription()StringgetDriverName()StringgetErrorMessage()intgetLastStatus()StringgetLastStatusAsString()StringgetName()booleanisActive()voidsetConfiguration(String configuration)voidsetDescription(String description)voidsetDriverName(String driverName)voidsetName(String name)
-
-
-
Method Detail
-
fillMessage
public void fillMessage(org.netxms.base.NXCPMessage msg)
Fill NXCP message with action's data- Parameters:
msg- NXCP message
-
getName
public String getName()
- Returns:
- the 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
-
getLastStatus
public int getLastStatus()
- Returns:
- the lastStatus
-
getLastStatusAsString
public String getLastStatusAsString()
- Returns:
- the lastStatus
-
-