|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.correlation.drools.config.EngineConfiguration
public class EngineConfiguration
The top-level element of the drools-engine.xml configuration file.
| Constructor Summary | |
|---|---|
EngineConfiguration()
|
|
| Method Summary | |
|---|---|
void |
addRuleSet(int index,
RuleSet vRuleSet)
Method addRuleSet |
void |
addRuleSet(RuleSet vRuleSet)
Method addRuleSet |
void |
clearRuleSet()
Method clearRuleSet |
java.util.Enumeration |
enumerateRuleSet()
Method enumerateRuleSet |
RuleSet[] |
getRuleSet()
Method getRuleSet |
RuleSet |
getRuleSet(int index)
Method getRuleSet |
java.util.ArrayList |
getRuleSetCollection()
Method getRuleSetCollection Returns a reference to 'ruleSet'. |
int |
getRuleSetCount()
Method getRuleSetCount |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeRuleSet(RuleSet vRuleSet)
Method removeRuleSet |
void |
setRuleSet(java.util.ArrayList ruleSetCollection)
Method setRuleSet Sets the value of 'ruleSet' by copying the given ArrayList. |
void |
setRuleSet(int index,
RuleSet vRuleSet)
Method setRuleSet |
void |
setRuleSet(RuleSet[] ruleSetArray)
Method setRuleSet |
void |
setRuleSetCollection(java.util.ArrayList ruleSetCollection)
Method setRuleSetCollection Sets the value of 'ruleSet' by setting it to the given ArrayList. |
static java.lang.Object |
unmarshal(java.io.Reader reader)
Method unmarshal |
void |
validate()
Method validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EngineConfiguration()
| Method Detail |
|---|
public void addRuleSet(RuleSet vRuleSet)
throws java.lang.IndexOutOfBoundsException
vRuleSet -
java.lang.IndexOutOfBoundsException
public void addRuleSet(int index,
RuleSet vRuleSet)
throws java.lang.IndexOutOfBoundsException
index - vRuleSet -
java.lang.IndexOutOfBoundsExceptionpublic void clearRuleSet()
public java.util.Enumeration enumerateRuleSet()
public RuleSet getRuleSet(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic RuleSet[] getRuleSet()
public java.util.ArrayList getRuleSetCollection()
public int getRuleSetCount()
public boolean isValid()
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationExceptionpublic boolean removeRuleSet(RuleSet vRuleSet)
vRuleSet -
public void setRuleSet(int index,
RuleSet vRuleSet)
throws java.lang.IndexOutOfBoundsException
index - vRuleSet -
java.lang.IndexOutOfBoundsExceptionpublic void setRuleSet(RuleSet[] ruleSetArray)
ruleSetArray - public void setRuleSet(java.util.ArrayList ruleSetCollection)
ruleSetCollection - the Vector to copy.public void setRuleSetCollection(java.util.ArrayList ruleSetCollection)
ruleSetCollection - the ArrayList to copy.
public static java.lang.Object unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||