Package org.netxms.client.events
Class ActionExecutionConfiguration
- java.lang.Object
-
- org.netxms.client.events.ActionExecutionConfiguration
-
public class ActionExecutionConfiguration extends Object
Action execution data
-
-
Constructor Summary
Constructors Modifier Constructor Description ActionExecutionConfiguration(long actionId, int timerDelay, String timerKey)Create new action execution configurationprotectedActionExecutionConfiguration(org.netxms.base.NXCPMessage msg, long baseId)Create action execution configuration from NXCP messageActionExecutionConfiguration(ActionExecutionConfiguration src)Copy constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfillMessage(org.netxms.base.NXCPMessage msg, long baseId)Fill NXCP messagelonggetActionId()Get action IDintgetTimerDelay()Get timer delay.StringgetTimerKey()Get timer keyvoidsetTimerDelay(int timerDelay)Set timer delay.voidsetTimerKey(String timerKey)Set timer key
-
-
-
Constructor Detail
-
ActionExecutionConfiguration
public ActionExecutionConfiguration(long actionId, int timerDelay, String timerKey)Create new action execution configuration- Parameters:
actionId- action IDtimerDelay- timer delay in secondstimerKey- timer key
-
ActionExecutionConfiguration
protected ActionExecutionConfiguration(org.netxms.base.NXCPMessage msg, long baseId)Create action execution configuration from NXCP message- Parameters:
msg- NXCP messagebaseId- base field ID
-
ActionExecutionConfiguration
public ActionExecutionConfiguration(ActionExecutionConfiguration src)
Copy constructor- Parameters:
src- source object
-
-
Method Detail
-
fillMessage
public void fillMessage(org.netxms.base.NXCPMessage msg, long baseId)Fill NXCP message- Parameters:
msg- NXCP messagebaseId- base field ID
-
getTimerDelay
public int getTimerDelay()
Get timer delay.- Returns:
- timer delay in seconds
-
setTimerDelay
public void setTimerDelay(int timerDelay)
Set timer delay.- Parameters:
timerDelay- timer delay in seconds
-
getTimerKey
public String getTimerKey()
Get timer key- Returns:
- current timer key
-
setTimerKey
public void setTimerKey(String timerKey)
Set timer key- Parameters:
timerKey- new timer key
-
getActionId
public long getActionId()
Get action ID- Returns:
- action ID
-
-