|
OpenNMS API 1.1.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.config.destinationPaths.Path
| Field Summary | |
private java.util.ArrayList |
_escalateList
|
private java.lang.String |
_initialDelay
|
private java.lang.String |
_name
|
private java.util.ArrayList |
_targetList
|
private java.util.Vector |
propertyChangeListeners
|
| Constructor Summary | |
Path()
|
|
| Method Summary | |
void |
addEscalate(Escalate vEscalate)
|
void |
addEscalate(int index,
Escalate vEscalate)
|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Registers a PropertyChangeListener with this class. |
void |
addTarget(int index,
Target vTarget)
|
void |
addTarget(Target vTarget)
|
void |
clearEscalate()
|
void |
clearTarget()
|
java.util.Enumeration |
enumerateEscalate()
|
java.util.Enumeration |
enumerateTarget()
|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
Escalate[] |
getEscalate()
|
Escalate |
getEscalate(int index)
|
java.util.Collection |
getEscalateCollection()
|
int |
getEscalateCount()
|
java.lang.String |
getInitialDelay()
Returns the value of field 'initialDelay'. |
java.lang.String |
getName()
Returns the value of field 'name'. |
Target[] |
getTarget()
|
Target |
getTarget(int index)
|
java.util.Collection |
getTargetCollection()
|
int |
getTargetCount()
|
boolean |
isValid()
|
void |
marshal(org.xml.sax.DocumentHandler handler)
|
void |
marshal(java.io.Writer out)
|
protected void |
notifyPropertyChangeListeners(java.lang.String fieldName,
java.lang.Object oldValue,
java.lang.Object newValue)
Notifies all registered PropertyChangeListeners when a bound property's value changes. |
boolean |
removeEscalate(Escalate vEscalate)
|
boolean |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes the given PropertyChangeListener from this classes list of ProperyChangeListeners. |
boolean |
removeTarget(Target vTarget)
|
void |
setEscalate(Escalate[] escalateArray)
|
void |
setEscalate(int index,
Escalate vEscalate)
|
void |
setEscalateCollection(java.util.Collection vEscalate)
|
void |
setInitialDelay(java.lang.String initialDelay)
Sets the value of field 'initialDelay'. |
void |
setName(java.lang.String name)
Sets the value of field 'name'. |
void |
setTarget(int index,
Target vTarget)
|
void |
setTarget(Target[] targetArray)
|
void |
setTargetCollection(java.util.Collection vTarget)
|
static Path |
unmarshal(java.io.Reader reader)
|
void |
validate()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private java.lang.String _name
private java.lang.String _initialDelay
private java.util.ArrayList _targetList
private java.util.ArrayList _escalateList
private java.util.Vector propertyChangeListeners
| Constructor Detail |
public Path()
| Method Detail |
public void addEscalate(Escalate vEscalate)
throws java.lang.IndexOutOfBoundsException
vEscalate -
java.lang.IndexOutOfBoundsException
public void addEscalate(int index,
Escalate vEscalate)
throws java.lang.IndexOutOfBoundsException
index - vEscalate -
java.lang.IndexOutOfBoundsExceptionpublic void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl - The PropertyChangeListener to register.
public void addTarget(Target vTarget)
throws java.lang.IndexOutOfBoundsException
vTarget -
java.lang.IndexOutOfBoundsException
public void addTarget(int index,
Target vTarget)
throws java.lang.IndexOutOfBoundsException
index - vTarget -
java.lang.IndexOutOfBoundsExceptionpublic void clearEscalate()
public void clearTarget()
public java.util.Enumeration enumerateEscalate()
public java.util.Enumeration enumerateTarget()
public boolean equals(java.lang.Object obj)
obj -
public Escalate getEscalate(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Escalate[] getEscalate()
public java.util.Collection getEscalateCollection()
public int getEscalateCount()
public java.lang.String getInitialDelay()
public java.lang.String getName()
public Target getTarget(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Target[] getTarget()
public java.util.Collection getTargetCollection()
public int getTargetCount()
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.DocumentHandler handler)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
protected void notifyPropertyChangeListeners(java.lang.String fieldName,
java.lang.Object oldValue,
java.lang.Object newValue)
fieldName - the name of the property that has changed.newValue - the new value of the property.oldValue - the old value of the property.public boolean removeEscalate(Escalate vEscalate)
vEscalate - public boolean removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl - The PropertyChangeListener to remove.
public boolean removeTarget(Target vTarget)
vTarget -
public void setEscalate(int index,
Escalate vEscalate)
throws java.lang.IndexOutOfBoundsException
index - vEscalate -
java.lang.IndexOutOfBoundsExceptionpublic void setEscalate(Escalate[] escalateArray)
escalateArray - public void setEscalateCollection(java.util.Collection vEscalate)
vEscalate - public void setInitialDelay(java.lang.String initialDelay)
initialDelay - the value of field 'initialDelay'.public void setName(java.lang.String name)
name - the value of field 'name'.
public void setTarget(int index,
Target vTarget)
throws java.lang.IndexOutOfBoundsException
index - vTarget -
java.lang.IndexOutOfBoundsExceptionpublic void setTarget(Target[] targetArray)
targetArray - public void setTargetCollection(java.util.Collection vTarget)
vTarget -
public static Path 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
|
OpenNMS API 1.1.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||