Class ServerAction

java.lang.Object
org.netxms.client.ServerAction

public class ServerAction extends Object
Represents NetXMS server's action
  • Constructor Details

    • ServerAction

      public ServerAction(long id)
      Create server action object with given ID
      Parameters:
      id - Action ID
    • ServerAction

      public ServerAction(long id, ServerAction src)
      Create copy of given server action object with new ID
      Parameters:
      id - new action ID
      src - source action object
    • ServerAction

      protected ServerAction(NXCPMessage msg)
      Create server action object from NXCP message
      Parameters:
      msg - NXCP message
  • Method Details

    • fillMessage

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

      public ServerActionType getType()
      Returns:
      the type
    • setType

      public void setType(ServerActionType type)
      Parameters:
      type - the type to set
    • getName

      public String getName()
      Returns:
      the name
    • setName

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

      public String getData()
      Returns:
      the data
    • setData

      public void setData(String data)
      Parameters:
      data - the data to set
    • getRecipientAddress

      public String getRecipientAddress()
      Returns:
      the recipientAddress
    • setRecipientAddress

      public void setRecipientAddress(String recipientAddress)
      Parameters:
      recipientAddress - the recipientAddress to set
    • getEmailSubject

      public String getEmailSubject()
      Returns:
      the emailSubject
    • setEmailSubject

      public void setEmailSubject(String emailSubject)
      Parameters:
      emailSubject - the emailSubject to set
    • isDisabled

      public boolean isDisabled()
      Returns:
      the disabled
    • setDisabled

      public void setDisabled(boolean disabled)
      Parameters:
      disabled - the disabled to set
    • getId

      public long getId()
      Returns:
      the id
    • setId

      public void setId(long id)
      Parameters:
      id - the id to set
    • getChannelName

      public String getChannelName()
      Returns:
      the channelName
    • setChannelName

      public void setChannelName(String channelName)
      Parameters:
      channelName - the channelName to set