public class TableThreshold extends Object
Modifier | Constructor and Description |
---|---|
|
TableThreshold()
Create new empty threshold
|
protected |
TableThreshold(org.netxms.base.NXCPMessage msg,
long baseId)
Create from NXCP message
|
|
TableThreshold(TableThreshold src)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
protected long |
fillMessage(org.netxms.base.NXCPMessage msg,
long baseId)
Fill NXCP message with threshold data
|
int |
getActivationEvent() |
String |
getConditionAsText()
Get threshold condition as text
|
List<List<TableCondition>> |
getConditions() |
int |
getDeactivationEvent() |
long |
getId() |
long |
getNextVarId() |
void |
setActivationEvent(int activationEvent) |
void |
setConditions(List<List<TableCondition>> conditions) |
void |
setDeactivationEvent(int deactivationEvent) |
public TableThreshold()
public TableThreshold(TableThreshold src)
src
- protected TableThreshold(org.netxms.base.NXCPMessage msg, long baseId)
msg
- baseId
- protected long fillMessage(org.netxms.base.NXCPMessage msg, long baseId)
msg
- baseId
- public String getConditionAsText()
public long getNextVarId()
public int getActivationEvent()
public void setActivationEvent(int activationEvent)
activationEvent
- the activationEvent to setpublic int getDeactivationEvent()
public void setDeactivationEvent(int deactivationEvent)
deactivationEvent
- the deactivationEvent to setpublic List<List<TableCondition>> getConditions()
public void setConditions(List<List<TableCondition>> conditions)
conditions
- the conditions to setpublic long getId()
Copyright © 2016. All rights reserved.