|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.xmlrpcd.XmlrpcdConfiguration
public class XmlrpcdConfiguration
Top-level element for the xmlrpcd-configuration.xml configuration file.
| Constructor Summary | |
|---|---|
XmlrpcdConfiguration()
|
|
| Method Summary | |
|---|---|
void |
addExternalServers(ExternalServers vExternalServers)
|
void |
addExternalServers(int index,
ExternalServers vExternalServers)
|
void |
addSubscription(int index,
Subscription vSubscription)
|
void |
addSubscription(Subscription vSubscription)
|
void |
deleteGenericMsgs()
|
void |
deleteMaxEventQueueSize()
|
Enumeration<ExternalServers> |
enumerateExternalServers()
Method enumerateExternalServers. |
Enumeration<Subscription> |
enumerateSubscription()
Method enumerateSubscription. |
ExternalServers[] |
getExternalServers()
Method getExternalServers.Returns the contents of the collection in an Array. |
ExternalServers |
getExternalServers(int index)
Method getExternalServers. |
List<ExternalServers> |
getExternalServersCollection()
Method getExternalServersCollection.Returns a reference to '_externalServersList'. |
int |
getExternalServersCount()
Method getExternalServersCount. |
boolean |
getGenericMsgs()
Returns the value of field 'genericMsgs'. |
int |
getMaxEventQueueSize()
Returns the value of field 'maxEventQueueSize'. |
Subscription[] |
getSubscription()
Method getSubscription.Returns the contents of the collection in an Array. |
Subscription |
getSubscription(int index)
Method getSubscription. |
List<Subscription> |
getSubscriptionCollection()
Method getSubscriptionCollection.Returns a reference to '_subscriptionList'. |
int |
getSubscriptionCount()
Method getSubscriptionCount. |
boolean |
hasGenericMsgs()
Method hasGenericMsgs. |
boolean |
hasMaxEventQueueSize()
Method hasMaxEventQueueSize. |
boolean |
isGenericMsgs()
Returns the value of field 'genericMsgs'. |
boolean |
isValid()
Method isValid. |
Iterator<ExternalServers> |
iterateExternalServers()
Method iterateExternalServers. |
Iterator<Subscription> |
iterateSubscription()
Method iterateSubscription. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllExternalServers()
|
void |
removeAllSubscription()
|
boolean |
removeExternalServers(ExternalServers vExternalServers)
Method removeExternalServers. |
ExternalServers |
removeExternalServersAt(int index)
Method removeExternalServersAt. |
boolean |
removeSubscription(Subscription vSubscription)
Method removeSubscription. |
Subscription |
removeSubscriptionAt(int index)
Method removeSubscriptionAt. |
void |
setExternalServers(ExternalServers[] vExternalServersArray)
|
void |
setExternalServers(int index,
ExternalServers vExternalServers)
|
void |
setExternalServers(List<ExternalServers> vExternalServersList)
Sets the value of '_externalServersList' by copying the given Vector. |
void |
setExternalServersCollection(List<ExternalServers> externalServersList)
Deprecated. |
void |
setGenericMsgs(boolean genericMsgs)
Sets the value of field 'genericMsgs'. |
void |
setMaxEventQueueSize(int maxEventQueueSize)
Sets the value of field 'maxEventQueueSize'. |
void |
setSubscription(int index,
Subscription vSubscription)
|
void |
setSubscription(List<Subscription> vSubscriptionList)
Sets the value of '_subscriptionList' by copying the given Vector. |
void |
setSubscription(Subscription[] vSubscriptionArray)
|
void |
setSubscriptionCollection(List<Subscription> subscriptionList)
Deprecated. |
static XmlrpcdConfiguration |
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 XmlrpcdConfiguration()
| Method Detail |
|---|
public void addExternalServers(ExternalServers vExternalServers)
throws IndexOutOfBoundsException
vExternalServers -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addExternalServers(int index,
ExternalServers vExternalServers)
throws IndexOutOfBoundsException
index - vExternalServers -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addSubscription(Subscription vSubscription)
throws IndexOutOfBoundsException
vSubscription -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addSubscription(int index,
Subscription vSubscription)
throws IndexOutOfBoundsException
index - vSubscription -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void deleteGenericMsgs()
public void deleteMaxEventQueueSize()
public Enumeration<ExternalServers> enumerateExternalServers()
public Enumeration<Subscription> enumerateSubscription()
public ExternalServers getExternalServers(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic ExternalServers[] getExternalServers()
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<ExternalServers> getExternalServersCollection()
public int getExternalServersCount()
public boolean getGenericMsgs()
public int getMaxEventQueueSize()
public Subscription getSubscription(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Subscription[] getSubscription()
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<Subscription> getSubscriptionCollection()
public int getSubscriptionCount()
public boolean hasGenericMsgs()
public boolean hasMaxEventQueueSize()
public boolean isGenericMsgs()
public boolean isValid()
public Iterator<ExternalServers> iterateExternalServers()
public Iterator<Subscription> iterateSubscription()
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 removeAllExternalServers()
public void removeAllSubscription()
public boolean removeExternalServers(ExternalServers vExternalServers)
vExternalServers -
public ExternalServers removeExternalServersAt(int index)
index -
public boolean removeSubscription(Subscription vSubscription)
vSubscription -
public Subscription removeSubscriptionAt(int index)
index -
public void setExternalServers(int index,
ExternalServers vExternalServers)
throws IndexOutOfBoundsException
index - vExternalServers -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setExternalServers(ExternalServers[] vExternalServersArray)
vExternalServersArray - public void setExternalServers(List<ExternalServers> vExternalServersList)
vExternalServersList - the Vector to copy.public void setExternalServersCollection(List<ExternalServers> externalServersList)
externalServersList - the Vector to set.public void setGenericMsgs(boolean genericMsgs)
genericMsgs - the value of field 'genericMsgs'.public void setMaxEventQueueSize(int maxEventQueueSize)
maxEventQueueSize - the value of field
'maxEventQueueSize'.
public void setSubscription(int index,
Subscription vSubscription)
throws IndexOutOfBoundsException
index - vSubscription -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setSubscription(Subscription[] vSubscriptionArray)
vSubscriptionArray - public void setSubscription(List<Subscription> vSubscriptionList)
vSubscriptionList - the Vector to copy.public void setSubscriptionCollection(List<Subscription> subscriptionList)
subscriptionList - the Vector to set.
public static XmlrpcdConfiguration 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 | ||||||||