Class ServerAction


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

      • ServerAction

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

        protected ServerAction​(org.netxms.base.NXCPMessage msg)
        Create server action object from NXCP message
        Parameters:
        msg - NXCP message
    • Method Detail

      • fillMessage

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

        public int getType()
        Returns:
        the type
      • setType

        public void setType​(int 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