|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.xmlrpcd.Subscription
public class Subscription
Subscription defines a set of events that an external XMLRPC server interested, and need OpenNMS to give notification via XMLRPC protocol
| Constructor Summary | |
|---|---|
Subscription()
|
|
| Method Summary | |
|---|---|
void |
addSubscribedEvent(int index,
SubscribedEvent vSubscribedEvent)
Method addSubscribedEvent |
void |
addSubscribedEvent(SubscribedEvent vSubscribedEvent)
Method addSubscribedEvent |
void |
clearSubscribedEvent()
Method clearSubscribedEvent |
java.util.Enumeration |
enumerateSubscribedEvent()
Method enumerateSubscribedEvent |
SubscribedEvent[] |
getSubscribedEvent()
Method getSubscribedEvent |
SubscribedEvent |
getSubscribedEvent(int index)
Method getSubscribedEvent |
java.util.ArrayList |
getSubscribedEventCollection()
Method getSubscribedEventCollection Returns a reference to 'subscribedEvent'. |
int |
getSubscribedEventCount()
Method getSubscribedEventCount |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeSubscribedEvent(SubscribedEvent vSubscribedEvent)
Method removeSubscribedEvent |
void |
setSubscribedEvent(java.util.ArrayList subscribedEventCollection)
Method setSubscribedEvent Sets the value of 'subscribedEvent' by copying the given ArrayList. |
void |
setSubscribedEvent(int index,
SubscribedEvent vSubscribedEvent)
Method setSubscribedEvent |
void |
setSubscribedEvent(SubscribedEvent[] subscribedEventArray)
Method setSubscribedEvent |
void |
setSubscribedEventCollection(java.util.ArrayList subscribedEventCollection)
Method setSubscribedEventCollection Sets the value of 'subscribedEvent' 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 Subscription()
| Method Detail |
|---|
public void addSubscribedEvent(SubscribedEvent vSubscribedEvent)
throws java.lang.IndexOutOfBoundsException
vSubscribedEvent -
java.lang.IndexOutOfBoundsException
public void addSubscribedEvent(int index,
SubscribedEvent vSubscribedEvent)
throws java.lang.IndexOutOfBoundsException
index - vSubscribedEvent -
java.lang.IndexOutOfBoundsExceptionpublic void clearSubscribedEvent()
public java.util.Enumeration enumerateSubscribedEvent()
public SubscribedEvent getSubscribedEvent(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic SubscribedEvent[] getSubscribedEvent()
public java.util.ArrayList getSubscribedEventCollection()
public int getSubscribedEventCount()
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 removeSubscribedEvent(SubscribedEvent vSubscribedEvent)
vSubscribedEvent -
public void setSubscribedEvent(int index,
SubscribedEvent vSubscribedEvent)
throws java.lang.IndexOutOfBoundsException
index - vSubscribedEvent -
java.lang.IndexOutOfBoundsExceptionpublic void setSubscribedEvent(SubscribedEvent[] subscribedEventArray)
subscribedEventArray - public void setSubscribedEvent(java.util.ArrayList subscribedEventCollection)
subscribedEventCollection - the Vector to copy.public void setSubscribedEventCollection(java.util.ArrayList subscribedEventCollection)
subscribedEventCollection - 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 | ||||||||