|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.notifd.NotifdConfiguration
public class NotifdConfiguration
Top-level element for the notifd-configuration.xml configuration file.
| Constructor Summary | |
|---|---|
NotifdConfiguration()
|
|
| Method Summary | |
|---|---|
void |
addAutoAcknowledge(AutoAcknowledge vAutoAcknowledge)
|
void |
addAutoAcknowledge(int index,
AutoAcknowledge vAutoAcknowledge)
|
void |
addOutageCalendar(int index,
String vOutageCalendar)
|
void |
addOutageCalendar(String vOutageCalendar)
|
void |
addQueue(int index,
Queue vQueue)
|
void |
addQueue(Queue vQueue)
|
void |
deleteMatchAll()
|
Enumeration<AutoAcknowledge> |
enumerateAutoAcknowledge()
Method enumerateAutoAcknowledge. |
Enumeration<String> |
enumerateOutageCalendar()
Method enumerateOutageCalendar. |
Enumeration<Queue> |
enumerateQueue()
Method enumerateQueue. |
String |
getAcknowledgeIdSql()
Returns the value of field 'acknowledgeIdSql'. |
String |
getAcknowledgeUpdateSql()
Returns the value of field 'acknowledgeUpdateSql'. |
AutoAcknowledge[] |
getAutoAcknowledge()
Method getAutoAcknowledge.Returns the contents of the collection in an Array. |
AutoAcknowledge |
getAutoAcknowledge(int index)
Method getAutoAcknowledge. |
List<AutoAcknowledge> |
getAutoAcknowledgeCollection()
Method getAutoAcknowledgeCollection.Returns a reference to '_autoAcknowledgeList'. |
int |
getAutoAcknowledgeCount()
Method getAutoAcknowledgeCount. |
String |
getEmailAddressCommand()
Returns the value of field 'emailAddressCommand'. |
boolean |
getMatchAll()
Returns the value of field 'matchAll'. |
String |
getNextGroupId()
Returns the value of field 'nextGroupId'. |
String |
getNextNotifId()
Returns the value of field 'nextNotifId'. |
String |
getNextUserNotifId()
Returns the value of field 'nextUserNotifId'. |
String[] |
getOutageCalendar()
Method getOutageCalendar.Returns the contents of the collection in an Array. |
String |
getOutageCalendar(int index)
Method getOutageCalendar. |
List<String> |
getOutageCalendarCollection()
Method getOutageCalendarCollection.Returns a reference to '_outageCalendarList'. |
int |
getOutageCalendarCount()
Method getOutageCalendarCount. |
String |
getOutstandingNoticesSql()
Returns the value of field 'outstandingNoticesSql'. |
String |
getPagesSent()
Returns the value of field 'pagesSent'. |
Queue[] |
getQueue()
Method getQueue.Returns the contents of the collection in an Array. |
Queue |
getQueue(int index)
Method getQueue. |
List<Queue> |
getQueueCollection()
Method getQueueCollection.Returns a reference to '_queueList'. |
int |
getQueueCount()
Method getQueueCount. |
String |
getStatus()
Returns the value of field 'status'. |
boolean |
hasMatchAll()
Method hasMatchAll. |
boolean |
isMatchAll()
Returns the value of field 'matchAll'. |
boolean |
isValid()
Method isValid. |
Iterator<AutoAcknowledge> |
iterateAutoAcknowledge()
Method iterateAutoAcknowledge. |
Iterator<String> |
iterateOutageCalendar()
Method iterateOutageCalendar. |
Iterator<Queue> |
iterateQueue()
Method iterateQueue. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllAutoAcknowledge()
|
void |
removeAllOutageCalendar()
|
void |
removeAllQueue()
|
boolean |
removeAutoAcknowledge(AutoAcknowledge vAutoAcknowledge)
Method removeAutoAcknowledge. |
AutoAcknowledge |
removeAutoAcknowledgeAt(int index)
Method removeAutoAcknowledgeAt. |
boolean |
removeOutageCalendar(String vOutageCalendar)
Method removeOutageCalendar. |
String |
removeOutageCalendarAt(int index)
Method removeOutageCalendarAt. |
boolean |
removeQueue(Queue vQueue)
Method removeQueue. |
Queue |
removeQueueAt(int index)
Method removeQueueAt. |
void |
setAcknowledgeIdSql(String acknowledgeIdSql)
Sets the value of field 'acknowledgeIdSql'. |
void |
setAcknowledgeUpdateSql(String acknowledgeUpdateSql)
Sets the value of field 'acknowledgeUpdateSql'. |
void |
setAutoAcknowledge(AutoAcknowledge[] vAutoAcknowledgeArray)
|
void |
setAutoAcknowledge(int index,
AutoAcknowledge vAutoAcknowledge)
|
void |
setAutoAcknowledge(List<AutoAcknowledge> vAutoAcknowledgeList)
Sets the value of '_autoAcknowledgeList' by copying the given Vector. |
void |
setAutoAcknowledgeCollection(List<AutoAcknowledge> autoAcknowledgeList)
Deprecated. |
void |
setEmailAddressCommand(String emailAddressCommand)
Sets the value of field 'emailAddressCommand'. |
void |
setMatchAll(boolean matchAll)
Sets the value of field 'matchAll'. |
void |
setNextGroupId(String nextGroupId)
Sets the value of field 'nextGroupId'. |
void |
setNextNotifId(String nextNotifId)
Sets the value of field 'nextNotifId'. |
void |
setNextUserNotifId(String nextUserNotifId)
Sets the value of field 'nextUserNotifId'. |
void |
setOutageCalendar(int index,
String vOutageCalendar)
|
void |
setOutageCalendar(List<String> vOutageCalendarList)
Sets the value of '_outageCalendarList' by copying the given Vector. |
void |
setOutageCalendar(String[] vOutageCalendarArray)
|
void |
setOutageCalendarCollection(List<String> outageCalendarList)
Deprecated. |
void |
setOutstandingNoticesSql(String outstandingNoticesSql)
Sets the value of field 'outstandingNoticesSql'. |
void |
setPagesSent(String pagesSent)
Sets the value of field 'pagesSent'. |
void |
setQueue(int index,
Queue vQueue)
|
void |
setQueue(List<Queue> vQueueList)
Sets the value of '_queueList' by copying the given Vector. |
void |
setQueue(Queue[] vQueueArray)
|
void |
setQueueCollection(List<Queue> queueList)
Deprecated. |
void |
setStatus(String status)
Sets the value of field 'status'. |
static NotifdConfiguration |
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 NotifdConfiguration()
| Method Detail |
|---|
public void addAutoAcknowledge(AutoAcknowledge vAutoAcknowledge)
throws IndexOutOfBoundsException
vAutoAcknowledge -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addAutoAcknowledge(int index,
AutoAcknowledge vAutoAcknowledge)
throws IndexOutOfBoundsException
index - vAutoAcknowledge -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addOutageCalendar(String vOutageCalendar)
throws IndexOutOfBoundsException
vOutageCalendar -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addOutageCalendar(int index,
String vOutageCalendar)
throws IndexOutOfBoundsException
index - vOutageCalendar -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addQueue(Queue vQueue)
throws IndexOutOfBoundsException
vQueue -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addQueue(int index,
Queue vQueue)
throws IndexOutOfBoundsException
index - vQueue -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void deleteMatchAll()
public Enumeration<AutoAcknowledge> enumerateAutoAcknowledge()
public Enumeration<String> enumerateOutageCalendar()
public Enumeration<Queue> enumerateQueue()
public String getAcknowledgeIdSql()
public String getAcknowledgeUpdateSql()
public AutoAcknowledge getAutoAcknowledge(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic AutoAcknowledge[] getAutoAcknowledge()
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<AutoAcknowledge> getAutoAcknowledgeCollection()
public int getAutoAcknowledgeCount()
public String getEmailAddressCommand()
public boolean getMatchAll()
public String getNextGroupId()
public String getNextNotifId()
public String getNextUserNotifId()
public String getOutageCalendar(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic String[] getOutageCalendar()
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<String> getOutageCalendarCollection()
public int getOutageCalendarCount()
public String getOutstandingNoticesSql()
public String getPagesSent()
public Queue getQueue(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Queue[] getQueue()
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<Queue> getQueueCollection()
public int getQueueCount()
public String getStatus()
public boolean hasMatchAll()
public boolean isMatchAll()
public boolean isValid()
public Iterator<AutoAcknowledge> iterateAutoAcknowledge()
public Iterator<String> iterateOutageCalendar()
public Iterator<Queue> iterateQueue()
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 removeAllAutoAcknowledge()
public void removeAllOutageCalendar()
public void removeAllQueue()
public boolean removeAutoAcknowledge(AutoAcknowledge vAutoAcknowledge)
vAutoAcknowledge -
public AutoAcknowledge removeAutoAcknowledgeAt(int index)
index -
public boolean removeOutageCalendar(String vOutageCalendar)
vOutageCalendar -
public String removeOutageCalendarAt(int index)
index -
public boolean removeQueue(Queue vQueue)
vQueue -
public Queue removeQueueAt(int index)
index -
public void setAcknowledgeIdSql(String acknowledgeIdSql)
acknowledgeIdSql - the value of field 'acknowledgeIdSql'public void setAcknowledgeUpdateSql(String acknowledgeUpdateSql)
acknowledgeUpdateSql - the value of field
'acknowledgeUpdateSql'.
public void setAutoAcknowledge(int index,
AutoAcknowledge vAutoAcknowledge)
throws IndexOutOfBoundsException
index - vAutoAcknowledge -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setAutoAcknowledge(AutoAcknowledge[] vAutoAcknowledgeArray)
vAutoAcknowledgeArray - public void setAutoAcknowledge(List<AutoAcknowledge> vAutoAcknowledgeList)
vAutoAcknowledgeList - the Vector to copy.public void setAutoAcknowledgeCollection(List<AutoAcknowledge> autoAcknowledgeList)
autoAcknowledgeList - the Vector to set.public void setEmailAddressCommand(String emailAddressCommand)
emailAddressCommand - the value of field
'emailAddressCommand'.public void setMatchAll(boolean matchAll)
matchAll - the value of field 'matchAll'.public void setNextGroupId(String nextGroupId)
nextGroupId - the value of field 'nextGroupId'.public void setNextNotifId(String nextNotifId)
nextNotifId - the value of field 'nextNotifId'.public void setNextUserNotifId(String nextUserNotifId)
nextUserNotifId - the value of field 'nextUserNotifId'.
public void setOutageCalendar(int index,
String vOutageCalendar)
throws IndexOutOfBoundsException
index - vOutageCalendar -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setOutageCalendar(String[] vOutageCalendarArray)
vOutageCalendarArray - public void setOutageCalendar(List<String> vOutageCalendarList)
vOutageCalendarList - the Vector to copy.public void setOutageCalendarCollection(List<String> outageCalendarList)
outageCalendarList - the Vector to set.public void setOutstandingNoticesSql(String outstandingNoticesSql)
outstandingNoticesSql - the value of field
'outstandingNoticesSql'.public void setPagesSent(String pagesSent)
pagesSent - the value of field 'pagesSent'.
public void setQueue(int index,
Queue vQueue)
throws IndexOutOfBoundsException
index - vQueue -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setQueue(Queue[] vQueueArray)
vQueueArray - public void setQueue(List<Queue> vQueueList)
vQueueList - the Vector to copy.public void setQueueCollection(List<Queue> queueList)
queueList - the Vector to set.public void setStatus(String status)
status - the value of field 'status'.
public static NotifdConfiguration 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 | ||||||||