com.eventgnosis.filters
Class ConditionWeightList

java.lang.Object
  extended bycom.eventgnosis.filters.ConditionWeightList
All Implemented Interfaces:
EmmlParmBuilder

public class ConditionWeightList
extends java.lang.Object
implements EmmlParmBuilder

List of Conditions, each with an associate numeric weight value. Usefull for correlation.

See Also:
Condition

Constructor Summary
ConditionWeightList()
           
 
Method Summary
 java.lang.String build(Log log, com.eventgnosis.config.ConfigurationManager configMgr, org.w3c.dom.Element elem)
          After object is instantiated this method is called to parse the EMML DOM element, setting its internal state to the parsed values.
 com.eventgnosis.filters.ConditionWeight get(int i)
           
 java.lang.String getConfigXml()
           
static ConditionWeightList getDefault()
           
 java.util.ArrayList getList()
           
 int size()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConditionWeightList

public ConditionWeightList()
Method Detail

build

public java.lang.String build(Log log,
                              com.eventgnosis.config.ConfigurationManager configMgr,
                              org.w3c.dom.Element elem)
Description copied from interface: EmmlParmBuilder
After object is instantiated this method is called to parse the EMML DOM element, setting its internal state to the parsed values.

Specified by:
build in interface EmmlParmBuilder
Parameters:
log - logger instance for tracking error, warning and info messages.
configMgr - holds configuration data structure used to properly configure runtime setup based on input ECA(s).
elem - emml(dom) node to be parsed
Returns:
precise error statement if there are any errors; null is returned if there are no errors and object is build sucessfully.

get

public com.eventgnosis.filters.ConditionWeight get(int i)

getConfigXml

public java.lang.String getConfigXml()

getDefault

public static ConditionWeightList getDefault()

getList

public java.util.ArrayList getList()

size

public int size()

toString

public java.lang.String toString()