|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.destinationPaths.Escalate
public class Escalate
Class Escalate.
| Constructor Summary | |
|---|---|
Escalate()
|
|
| Method Summary | |
|---|---|
void |
addTarget(int index,
Target vTarget)
|
void |
addTarget(Target vTarget)
|
Enumeration<Target> |
enumerateTarget()
Method enumerateTarget. |
String |
getDelay()
Returns the value of field 'delay'. |
Target[] |
getTarget()
Method getTarget.Returns the contents of the collection in an Array. |
Target |
getTarget(int index)
Method getTarget. |
List<Target> |
getTargetCollection()
Method getTargetCollection.Returns a reference to '_targetList'. |
int |
getTargetCount()
Method getTargetCount. |
boolean |
isValid()
Method isValid. |
Iterator<Target> |
iterateTarget()
Method iterateTarget. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllTarget()
|
boolean |
removeTarget(Target vTarget)
Method removeTarget. |
Target |
removeTargetAt(int index)
Method removeTargetAt. |
void |
setDelay(String delay)
Sets the value of field 'delay'. |
void |
setTarget(int index,
Target vTarget)
|
void |
setTarget(List<Target> vTargetList)
Sets the value of '_targetList' by copying the given Vector. |
void |
setTarget(Target[] vTargetArray)
|
void |
setTargetCollection(List<Target> targetList)
Deprecated. |
static Escalate |
unmarshal(Reader reader)
Method unmarshal. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Escalate()
| Method Detail |
|---|
public void addTarget(Target vTarget)
throws IndexOutOfBoundsException
vTarget -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addTarget(int index,
Target vTarget)
throws IndexOutOfBoundsException
index - vTarget -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<Target> enumerateTarget()
public String getDelay()
public Target getTarget(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Target[] getTarget()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<Target> getTargetCollection()
public int getTargetCount()
public boolean isValid()
public Iterator<Target> iterateTarget()
public void marshal(Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void marshal(ContentHandler handler)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
IOException - if an IOException occurs during
marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic void removeAllTarget()
public boolean removeTarget(Target vTarget)
vTarget -
public Target removeTargetAt(int index)
index -
public void setDelay(String delay)
delay - the value of field 'delay'.
public void setTarget(int index,
Target vTarget)
throws IndexOutOfBoundsException
index - vTarget -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setTarget(Target[] vTargetArray)
vTargetArray - public void setTarget(List<Target> vTargetList)
vTargetList - the Vector to copy.public void setTargetCollection(List<Target> targetList)
targetList - the Vector to set.
public static Escalate unmarshal(Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||