org.netxms.client
Class ServerAction
java.lang.Object
org.netxms.client.ServerAction
public class ServerAction
- extends java.lang.Object
Represents NetXMS server's action
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EXEC_LOCAL
public static final int EXEC_LOCAL
- See Also:
- Constant Field Values
EXEC_REMOTE
public static final int EXEC_REMOTE
- See Also:
- Constant Field Values
SEND_EMAIL
public static final int SEND_EMAIL
- See Also:
- Constant Field Values
SEND_SMS
public static final int SEND_SMS
- See Also:
- Constant Field Values
FORWARD_EVENT
public static final int FORWARD_EVENT
- See Also:
- Constant Field Values
EXEC_NXSL_SCRIPT
public static final int EXEC_NXSL_SCRIPT
- See Also:
- Constant Field Values
ServerAction
public ServerAction(long id)
- Create server action object with given ID
- Parameters:
id
- Action ID
ServerAction
protected ServerAction(NXCPMessage msg)
- Create server action object from NXCP message
- Parameters:
msg
- NXCP message
fillMessage
public void fillMessage(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 java.lang.String getName()
- Returns:
- the name
setName
public void setName(java.lang.String name)
- Parameters:
name
- the name to set
getData
public java.lang.String getData()
- Returns:
- the data
setData
public void setData(java.lang.String data)
- Parameters:
data
- the data to set
getRecipientAddress
public java.lang.String getRecipientAddress()
- Returns:
- the recipientAddress
setRecipientAddress
public void setRecipientAddress(java.lang.String recipientAddress)
- Parameters:
recipientAddress
- the recipientAddress to set
getEmailSubject
public java.lang.String getEmailSubject()
- Returns:
- the emailSubject
setEmailSubject
public void setEmailSubject(java.lang.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
Copyright © 2013. All Rights Reserved.