Package org.netxms.client
Class ServerAction
java.lang.Object
org.netxms.client.ServerAction
Represents NetXMS server's action
- 
Constructor SummaryConstructorsModifierConstructorDescriptionServerAction(long id) Create server action object with given IDServerAction(long id, ServerAction src) Create copy of given server action object with new IDprotectedServerAction(NXCPMessage msg) Create server action object from NXCP message
- 
Method SummaryModifier and TypeMethodDescriptionvoidfillMessage(NXCPMessage msg) Fill NXCP message with action's datagetData()longgetId()getName()getType()booleanvoidsetChannelName(String channelName) voidvoidsetDisabled(boolean disabled) voidsetEmailSubject(String emailSubject) voidsetId(long id) voidvoidsetRecipientAddress(String recipientAddress) voidsetType(ServerActionType type) 
- 
Constructor Details- 
ServerActionpublic ServerAction(long id) Create server action object with given ID- Parameters:
- id- Action ID
 
- 
ServerActionCreate copy of given server action object with new ID- Parameters:
- id- new action ID
- src- source action object
 
- 
ServerActionCreate server action object from NXCP message- Parameters:
- msg- NXCP message
 
 
- 
- 
Method Details- 
fillMessageFill NXCP message with action's data- Parameters:
- msg- NXCP message
 
- 
getType- Returns:
- the type
 
- 
setType- Parameters:
- type- the type to set
 
- 
getName- Returns:
- the name
 
- 
setName- Parameters:
- name- the name to set
 
- 
getData- Returns:
- the data
 
- 
setData- Parameters:
- data- the data to set
 
- 
getRecipientAddress- Returns:
- the recipientAddress
 
- 
setRecipientAddress- Parameters:
- recipientAddress- the recipientAddress to set
 
- 
getEmailSubject- Returns:
- the emailSubject
 
- 
setEmailSubject- Parameters:
- emailSubject- the emailSubject to set
 
- 
isDisabledpublic boolean isDisabled()- Returns:
- the disabled
 
- 
setDisabledpublic void setDisabled(boolean disabled) - Parameters:
- disabled- the disabled to set
 
- 
getIdpublic long getId()- Returns:
- the id
 
- 
setIdpublic void setId(long id) - Parameters:
- id- the id to set
 
- 
getChannelName- Returns:
- the channelName
 
- 
setChannelName- Parameters:
- channelName- the channelName to set
 
 
-