|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.poller.Outages
public class Outages
Top-level element for the poll-outages.xml configuration file.
| Constructor Summary | |
|---|---|
Outages()
|
|
| Method Summary | |
|---|---|
void |
addOutage(int index,
Outage vOutage)
Method addOutage |
void |
addOutage(Outage vOutage)
Method addOutage |
void |
clearOutage()
Method clearOutage |
java.util.Enumeration |
enumerateOutage()
Method enumerateOutage |
Outage[] |
getOutage()
Method getOutage |
Outage |
getOutage(int index)
Method getOutage |
java.util.ArrayList |
getOutageCollection()
Method getOutageCollection Returns a reference to 'outage'. |
int |
getOutageCount()
Method getOutageCount |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeOutage(Outage vOutage)
Method removeOutage |
void |
setOutage(java.util.ArrayList outageCollection)
Method setOutage Sets the value of 'outage' by copying the given ArrayList. |
void |
setOutage(int index,
Outage vOutage)
Method setOutage |
void |
setOutage(Outage[] outageArray)
Method setOutage |
void |
setOutageCollection(java.util.ArrayList outageCollection)
Method setOutageCollection Sets the value of 'outage' 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 Outages()
| Method Detail |
|---|
public void addOutage(Outage vOutage)
throws java.lang.IndexOutOfBoundsException
vOutage -
java.lang.IndexOutOfBoundsException
public void addOutage(int index,
Outage vOutage)
throws java.lang.IndexOutOfBoundsException
index - vOutage -
java.lang.IndexOutOfBoundsExceptionpublic void clearOutage()
public java.util.Enumeration enumerateOutage()
public Outage getOutage(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Outage[] getOutage()
public java.util.ArrayList getOutageCollection()
public int getOutageCount()
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 removeOutage(Outage vOutage)
vOutage -
public void setOutage(int index,
Outage vOutage)
throws java.lang.IndexOutOfBoundsException
index - vOutage -
java.lang.IndexOutOfBoundsExceptionpublic void setOutage(Outage[] outageArray)
outageArray - public void setOutage(java.util.ArrayList outageCollection)
outageCollection - the Vector to copy.public void setOutageCollection(java.util.ArrayList outageCollection)
outageCollection - 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 | ||||||||