|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.threshd.Group
public class Group
Grouping of related threshold definitions
| Constructor Summary | |
|---|---|
Group()
|
|
| Method Summary | |
|---|---|
void |
addExpression(Expression vExpression)
Method addExpression |
void |
addExpression(int index,
Expression vExpression)
Method addExpression |
void |
addThreshold(int index,
Threshold vThreshold)
Method addThreshold |
void |
addThreshold(Threshold vThreshold)
Method addThreshold |
void |
clearExpression()
Method clearExpression |
void |
clearThreshold()
Method clearThreshold |
java.util.Enumeration |
enumerateExpression()
Method enumerateExpression |
java.util.Enumeration |
enumerateThreshold()
Method enumerateThreshold |
Expression[] |
getExpression()
Method getExpression |
Expression |
getExpression(int index)
Method getExpression |
java.util.ArrayList |
getExpressionCollection()
Method getExpressionCollection Returns a reference to 'expression'. |
int |
getExpressionCount()
Method getExpressionCount |
java.lang.String |
getName()
Returns the value of field 'name'. |
java.lang.String |
getRrdRepository()
Returns the value of field 'rrdRepository'. |
Threshold[] |
getThreshold()
Method getThreshold |
Threshold |
getThreshold(int index)
Method getThreshold |
java.util.ArrayList |
getThresholdCollection()
Method getThresholdCollection Returns a reference to 'threshold'. |
int |
getThresholdCount()
Method getThresholdCount |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeExpression(Expression vExpression)
Method removeExpression |
boolean |
removeThreshold(Threshold vThreshold)
Method removeThreshold |
void |
setExpression(java.util.ArrayList expressionCollection)
Method setExpression Sets the value of 'expression' by copying the given ArrayList. |
void |
setExpression(Expression[] expressionArray)
Method setExpression |
void |
setExpression(int index,
Expression vExpression)
Method setExpression |
void |
setExpressionCollection(java.util.ArrayList expressionCollection)
Method setExpressionCollection Sets the value of 'expression' by setting it to the given ArrayList. |
void |
setName(java.lang.String name)
Sets the value of field 'name'. |
void |
setRrdRepository(java.lang.String rrdRepository)
Sets the value of field 'rrdRepository'. |
void |
setThreshold(java.util.ArrayList thresholdCollection)
Method setThreshold Sets the value of 'threshold' by copying the given ArrayList. |
void |
setThreshold(int index,
Threshold vThreshold)
Method setThreshold |
void |
setThreshold(Threshold[] thresholdArray)
Method setThreshold |
void |
setThresholdCollection(java.util.ArrayList thresholdCollection)
Method setThresholdCollection Sets the value of 'threshold' 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 Group()
| Method Detail |
|---|
public void addExpression(Expression vExpression)
throws java.lang.IndexOutOfBoundsException
vExpression -
java.lang.IndexOutOfBoundsException
public void addExpression(int index,
Expression vExpression)
throws java.lang.IndexOutOfBoundsException
index - vExpression -
java.lang.IndexOutOfBoundsException
public void addThreshold(Threshold vThreshold)
throws java.lang.IndexOutOfBoundsException
vThreshold -
java.lang.IndexOutOfBoundsException
public void addThreshold(int index,
Threshold vThreshold)
throws java.lang.IndexOutOfBoundsException
index - vThreshold -
java.lang.IndexOutOfBoundsExceptionpublic void clearExpression()
public void clearThreshold()
public java.util.Enumeration enumerateExpression()
public java.util.Enumeration enumerateThreshold()
public Expression getExpression(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Expression[] getExpression()
public java.util.ArrayList getExpressionCollection()
public int getExpressionCount()
public java.lang.String getName()
public java.lang.String getRrdRepository()
public Threshold getThreshold(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Threshold[] getThreshold()
public java.util.ArrayList getThresholdCollection()
public int getThresholdCount()
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 removeExpression(Expression vExpression)
vExpression -
public boolean removeThreshold(Threshold vThreshold)
vThreshold -
public void setExpression(int index,
Expression vExpression)
throws java.lang.IndexOutOfBoundsException
index - vExpression -
java.lang.IndexOutOfBoundsExceptionpublic void setExpression(Expression[] expressionArray)
expressionArray - public void setExpression(java.util.ArrayList expressionCollection)
expressionCollection - the Vector to copy.public void setExpressionCollection(java.util.ArrayList expressionCollection)
expressionCollection - the ArrayList to copy.public void setName(java.lang.String name)
name - the value of field 'name'.public void setRrdRepository(java.lang.String rrdRepository)
rrdRepository - the value of field 'rrdRepository'.
public void setThreshold(int index,
Threshold vThreshold)
throws java.lang.IndexOutOfBoundsException
index - vThreshold -
java.lang.IndexOutOfBoundsExceptionpublic void setThreshold(Threshold[] thresholdArray)
thresholdArray - public void setThreshold(java.util.ArrayList thresholdCollection)
thresholdCollection - the Vector to copy.public void setThresholdCollection(java.util.ArrayList thresholdCollection)
thresholdCollection - 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 | ||||||||