|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netxms.client.events.EventProcessingPolicy
public class EventProcessingPolicy
This class represents NetXMS event processing policy.
Constructor Summary | |
---|---|
EventProcessingPolicy(int numRules)
Create new policy object. |
Method Summary | |
---|---|
void |
addRule(EventProcessingPolicyRule rule)
Add new rule. |
void |
deleteRule(int index)
Delete rule. |
java.util.List<EventProcessingPolicyRule> |
getRules()
|
void |
insertRule(EventProcessingPolicyRule rule,
int index)
Insert rule before rule at given position |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventProcessingPolicy(int numRules)
numRules
- Expected number of rulesMethod Detail |
---|
public void addRule(EventProcessingPolicyRule rule)
rule
- Rule to addpublic void insertRule(EventProcessingPolicyRule rule, int index)
rule
- rule to insertindex
- position to insert atpublic void deleteRule(int index)
index
- zero-based indexpublic java.util.List<EventProcessingPolicyRule> getRules()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |