org.netxms.client.events
Class EventProcessingPolicy

java.lang.Object
  extended by org.netxms.client.events.EventProcessingPolicy

public class EventProcessingPolicy
extends java.lang.Object

This class represents NetXMS event processing policy.

Author:
Victor

Constructor Summary
EventProcessingPolicy(int numRules)
          Create new policy object.
 
Method Summary
 void addRule(EventProcessingPolicyRule rule)
          Add new rule.
 java.util.List<EventProcessingPolicyRule> getRules()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventProcessingPolicy

public EventProcessingPolicy(int numRules)
Create new policy object.

Parameters:
numRules - Expected number of rules
Method Detail

addRule

public void addRule(EventProcessingPolicyRule rule)
Add new rule.

Parameters:
rule - Rule to add

getRules

public java.util.List<EventProcessingPolicyRule> getRules()
Returns:
the rules


Copyright © 2009. All Rights Reserved.