|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.correlation.drools.config.RuleSet
public class RuleSet
Class RuleSet.
| Constructor Summary | |
|---|---|
RuleSet()
|
|
| Method Summary | |
|---|---|
void |
addEvent(int index,
java.lang.String vEvent)
Method addEvent |
void |
addEvent(java.lang.String vEvent)
Method addEvent |
void |
addGlobal(Global vGlobal)
Method addGlobal |
void |
addGlobal(int index,
Global vGlobal)
Method addGlobal |
void |
addRuleFile(int index,
java.lang.String vRuleFile)
Method addRuleFile |
void |
addRuleFile(java.lang.String vRuleFile)
Method addRuleFile |
void |
clearEvent()
Method clearEvent |
void |
clearGlobal()
Method clearGlobal |
void |
clearRuleFile()
Method clearRuleFile |
java.util.Enumeration |
enumerateEvent()
Method enumerateEvent |
java.util.Enumeration |
enumerateGlobal()
Method enumerateGlobal |
java.util.Enumeration |
enumerateRuleFile()
Method enumerateRuleFile |
java.lang.String |
getAppContext()
Returns the value of field 'appContext'. |
java.lang.String[] |
getEvent()
Method getEvent |
java.lang.String |
getEvent(int index)
Method getEvent |
java.util.ArrayList |
getEventCollection()
Method getEventCollection Returns a reference to 'event'. |
int |
getEventCount()
Method getEventCount |
Global[] |
getGlobal()
Method getGlobal |
Global |
getGlobal(int index)
Method getGlobal |
java.util.ArrayList |
getGlobalCollection()
Method getGlobalCollection Returns a reference to 'global'. |
int |
getGlobalCount()
Method getGlobalCount |
java.lang.String |
getName()
Returns the value of field 'name'. |
java.lang.String[] |
getRuleFile()
Method getRuleFile |
java.lang.String |
getRuleFile(int index)
Method getRuleFile |
java.util.ArrayList |
getRuleFileCollection()
Method getRuleFileCollection Returns a reference to 'ruleFile'. |
int |
getRuleFileCount()
Method getRuleFileCount |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeEvent(java.lang.String vEvent)
Method removeEvent |
boolean |
removeGlobal(Global vGlobal)
Method removeGlobal |
boolean |
removeRuleFile(java.lang.String vRuleFile)
Method removeRuleFile |
void |
setAppContext(java.lang.String appContext)
Sets the value of field 'appContext'. |
void |
setEvent(java.util.ArrayList eventCollection)
Method setEvent Sets the value of 'event' by copying the given ArrayList. |
void |
setEvent(int index,
java.lang.String vEvent)
Method setEvent |
void |
setEvent(java.lang.String[] eventArray)
Method setEvent |
void |
setEventCollection(java.util.ArrayList eventCollection)
Method setEventCollection Sets the value of 'event' by setting it to the given ArrayList. |
void |
setGlobal(java.util.ArrayList globalCollection)
Method setGlobal Sets the value of 'global' by copying the given ArrayList. |
void |
setGlobal(Global[] globalArray)
Method setGlobal |
void |
setGlobal(int index,
Global vGlobal)
Method setGlobal |
void |
setGlobalCollection(java.util.ArrayList globalCollection)
Method setGlobalCollection Sets the value of 'global' by setting it to the given ArrayList. |
void |
setName(java.lang.String name)
Sets the value of field 'name'. |
void |
setRuleFile(java.util.ArrayList ruleFileCollection)
Method setRuleFile Sets the value of 'ruleFile' by copying the given ArrayList. |
void |
setRuleFile(int index,
java.lang.String vRuleFile)
Method setRuleFile |
void |
setRuleFile(java.lang.String[] ruleFileArray)
Method setRuleFile |
void |
setRuleFileCollection(java.util.ArrayList ruleFileCollection)
Method setRuleFileCollection Sets the value of 'ruleFile' 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 RuleSet()
| Method Detail |
|---|
public void addEvent(java.lang.String vEvent)
throws java.lang.IndexOutOfBoundsException
vEvent -
java.lang.IndexOutOfBoundsException
public void addEvent(int index,
java.lang.String vEvent)
throws java.lang.IndexOutOfBoundsException
index - vEvent -
java.lang.IndexOutOfBoundsException
public void addGlobal(Global vGlobal)
throws java.lang.IndexOutOfBoundsException
vGlobal -
java.lang.IndexOutOfBoundsException
public void addGlobal(int index,
Global vGlobal)
throws java.lang.IndexOutOfBoundsException
index - vGlobal -
java.lang.IndexOutOfBoundsException
public void addRuleFile(java.lang.String vRuleFile)
throws java.lang.IndexOutOfBoundsException
vRuleFile -
java.lang.IndexOutOfBoundsException
public void addRuleFile(int index,
java.lang.String vRuleFile)
throws java.lang.IndexOutOfBoundsException
index - vRuleFile -
java.lang.IndexOutOfBoundsExceptionpublic void clearEvent()
public void clearGlobal()
public void clearRuleFile()
public java.util.Enumeration enumerateEvent()
public java.util.Enumeration enumerateGlobal()
public java.util.Enumeration enumerateRuleFile()
public java.lang.String getAppContext()
public java.lang.String getEvent(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic java.lang.String[] getEvent()
public java.util.ArrayList getEventCollection()
public int getEventCount()
public Global getGlobal(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Global[] getGlobal()
public java.util.ArrayList getGlobalCollection()
public int getGlobalCount()
public java.lang.String getName()
public java.lang.String getRuleFile(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic java.lang.String[] getRuleFile()
public java.util.ArrayList getRuleFileCollection()
public int getRuleFileCount()
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 removeEvent(java.lang.String vEvent)
vEvent -
public boolean removeGlobal(Global vGlobal)
vGlobal -
public boolean removeRuleFile(java.lang.String vRuleFile)
vRuleFile -
public void setAppContext(java.lang.String appContext)
appContext - the value of field 'appContext'.
public void setEvent(int index,
java.lang.String vEvent)
throws java.lang.IndexOutOfBoundsException
index - vEvent -
java.lang.IndexOutOfBoundsExceptionpublic void setEvent(java.lang.String[] eventArray)
eventArray - public void setEvent(java.util.ArrayList eventCollection)
eventCollection - the Vector to copy.public void setEventCollection(java.util.ArrayList eventCollection)
eventCollection - the ArrayList to copy.
public void setGlobal(int index,
Global vGlobal)
throws java.lang.IndexOutOfBoundsException
index - vGlobal -
java.lang.IndexOutOfBoundsExceptionpublic void setGlobal(Global[] globalArray)
globalArray - public void setGlobal(java.util.ArrayList globalCollection)
globalCollection - the Vector to copy.public void setGlobalCollection(java.util.ArrayList globalCollection)
globalCollection - the ArrayList to copy.public void setName(java.lang.String name)
name - the value of field 'name'.
public void setRuleFile(int index,
java.lang.String vRuleFile)
throws java.lang.IndexOutOfBoundsException
index - vRuleFile -
java.lang.IndexOutOfBoundsExceptionpublic void setRuleFile(java.lang.String[] ruleFileArray)
ruleFileArray - public void setRuleFile(java.util.ArrayList ruleFileCollection)
ruleFileCollection - the Vector to copy.public void setRuleFileCollection(java.util.ArrayList ruleFileCollection)
ruleFileCollection - 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 | ||||||||