|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opennms.netmgt.config.collectd.Package
Field Summary | |
private java.util.ArrayList |
_excludeRangeList
|
private Filter |
_filter
|
private java.util.ArrayList |
_includeRangeList
|
private java.util.ArrayList |
_includeUrlList
|
private java.lang.String |
_name
|
private java.util.ArrayList |
_outageCalendarList
|
private java.util.ArrayList |
_serviceList
|
private java.util.ArrayList |
_specificList
|
private java.util.Vector |
propertyChangeListeners
|
Constructor Summary | |
Package()
|
Method Summary | |
void |
addExcludeRange(ExcludeRange vExcludeRange)
|
void |
addExcludeRange(int index,
ExcludeRange vExcludeRange)
|
void |
addIncludeRange(IncludeRange vIncludeRange)
|
void |
addIncludeRange(int index,
IncludeRange vIncludeRange)
|
void |
addIncludeUrl(int index,
java.lang.String vIncludeUrl)
|
void |
addIncludeUrl(java.lang.String vIncludeUrl)
|
void |
addOutageCalendar(int index,
java.lang.String vOutageCalendar)
|
void |
addOutageCalendar(java.lang.String vOutageCalendar)
|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Registers a PropertyChangeListener with this class. |
void |
addService(int index,
Service vService)
|
void |
addService(Service vService)
|
void |
addSpecific(int index,
java.lang.String vSpecific)
|
void |
addSpecific(java.lang.String vSpecific)
|
void |
clearExcludeRange()
|
void |
clearIncludeRange()
|
void |
clearIncludeUrl()
|
void |
clearOutageCalendar()
|
void |
clearService()
|
void |
clearSpecific()
|
java.util.Enumeration |
enumerateExcludeRange()
|
java.util.Enumeration |
enumerateIncludeRange()
|
java.util.Enumeration |
enumerateIncludeUrl()
|
java.util.Enumeration |
enumerateOutageCalendar()
|
java.util.Enumeration |
enumerateService()
|
java.util.Enumeration |
enumerateSpecific()
|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
ExcludeRange[] |
getExcludeRange()
|
ExcludeRange |
getExcludeRange(int index)
|
java.util.Collection |
getExcludeRangeCollection()
|
int |
getExcludeRangeCount()
|
Filter |
getFilter()
Returns the value of field 'filter'. |
IncludeRange[] |
getIncludeRange()
|
IncludeRange |
getIncludeRange(int index)
|
java.util.Collection |
getIncludeRangeCollection()
|
int |
getIncludeRangeCount()
|
java.lang.String[] |
getIncludeUrl()
|
java.lang.String |
getIncludeUrl(int index)
|
java.util.Collection |
getIncludeUrlCollection()
|
int |
getIncludeUrlCount()
|
java.lang.String |
getName()
Returns the value of field 'name'. |
java.lang.String[] |
getOutageCalendar()
|
java.lang.String |
getOutageCalendar(int index)
|
java.util.Collection |
getOutageCalendarCollection()
|
int |
getOutageCalendarCount()
|
Service[] |
getService()
|
Service |
getService(int index)
|
java.util.Collection |
getServiceCollection()
|
int |
getServiceCount()
|
java.lang.String[] |
getSpecific()
|
java.lang.String |
getSpecific(int index)
|
java.util.Collection |
getSpecificCollection()
|
int |
getSpecificCount()
|
boolean |
isValid()
|
void |
marshal(org.xml.sax.DocumentHandler handler)
|
void |
marshal(java.io.Writer out)
|
protected void |
notifyPropertyChangeListeners(java.lang.String fieldName,
java.lang.Object oldValue,
java.lang.Object newValue)
Notifies all registered PropertyChangeListeners when a bound property's value changes. |
boolean |
removeExcludeRange(ExcludeRange vExcludeRange)
|
boolean |
removeIncludeRange(IncludeRange vIncludeRange)
|
boolean |
removeIncludeUrl(java.lang.String vIncludeUrl)
|
boolean |
removeOutageCalendar(java.lang.String vOutageCalendar)
|
boolean |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes the given PropertyChangeListener from this classes list of ProperyChangeListeners. |
boolean |
removeService(Service vService)
|
boolean |
removeSpecific(java.lang.String vSpecific)
|
void |
setExcludeRange(ExcludeRange[] excludeRangeArray)
|
void |
setExcludeRange(int index,
ExcludeRange vExcludeRange)
|
void |
setExcludeRangeCollection(java.util.Collection vExcludeRange)
|
void |
setFilter(Filter filter)
Sets the value of field 'filter'. |
void |
setIncludeRange(IncludeRange[] includeRangeArray)
|
void |
setIncludeRange(int index,
IncludeRange vIncludeRange)
|
void |
setIncludeRangeCollection(java.util.Collection vIncludeRange)
|
void |
setIncludeUrl(int index,
java.lang.String vIncludeUrl)
|
void |
setIncludeUrl(java.lang.String[] includeUrlArray)
|
void |
setIncludeUrlCollection(java.util.Collection vIncludeUrl)
|
void |
setName(java.lang.String name)
Sets the value of field 'name'. |
void |
setOutageCalendar(int index,
java.lang.String vOutageCalendar)
|
void |
setOutageCalendar(java.lang.String[] outageCalendarArray)
|
void |
setOutageCalendarCollection(java.util.Collection vOutageCalendar)
|
void |
setService(int index,
Service vService)
|
void |
setService(Service[] serviceArray)
|
void |
setServiceCollection(java.util.Collection vService)
|
void |
setSpecific(int index,
java.lang.String vSpecific)
|
void |
setSpecific(java.lang.String[] specificArray)
|
void |
setSpecificCollection(java.util.Collection vSpecific)
|
static Package |
unmarshal(java.io.Reader reader)
|
void |
validate()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String _name
private Filter _filter
private java.util.ArrayList _specificList
private java.util.ArrayList _includeRangeList
private java.util.ArrayList _excludeRangeList
private java.util.ArrayList _includeUrlList
private java.util.ArrayList _serviceList
private java.util.ArrayList _outageCalendarList
private java.util.Vector propertyChangeListeners
Constructor Detail |
public Package()
Method Detail |
public void addExcludeRange(ExcludeRange vExcludeRange) throws java.lang.IndexOutOfBoundsException
vExcludeRange
-
java.lang.IndexOutOfBoundsException
public void addExcludeRange(int index, ExcludeRange vExcludeRange) throws java.lang.IndexOutOfBoundsException
index
- vExcludeRange
-
java.lang.IndexOutOfBoundsException
public void addIncludeRange(IncludeRange vIncludeRange) throws java.lang.IndexOutOfBoundsException
vIncludeRange
-
java.lang.IndexOutOfBoundsException
public void addIncludeRange(int index, IncludeRange vIncludeRange) throws java.lang.IndexOutOfBoundsException
index
- vIncludeRange
-
java.lang.IndexOutOfBoundsException
public void addIncludeUrl(java.lang.String vIncludeUrl) throws java.lang.IndexOutOfBoundsException
vIncludeUrl
-
java.lang.IndexOutOfBoundsException
public void addIncludeUrl(int index, java.lang.String vIncludeUrl) throws java.lang.IndexOutOfBoundsException
index
- vIncludeUrl
-
java.lang.IndexOutOfBoundsException
public void addOutageCalendar(java.lang.String vOutageCalendar) throws java.lang.IndexOutOfBoundsException
vOutageCalendar
-
java.lang.IndexOutOfBoundsException
public void addOutageCalendar(int index, java.lang.String vOutageCalendar) throws java.lang.IndexOutOfBoundsException
index
- vOutageCalendar
-
java.lang.IndexOutOfBoundsException
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to register.public void addService(Service vService) throws java.lang.IndexOutOfBoundsException
vService
-
java.lang.IndexOutOfBoundsException
public void addService(int index, Service vService) throws java.lang.IndexOutOfBoundsException
index
- vService
-
java.lang.IndexOutOfBoundsException
public void addSpecific(java.lang.String vSpecific) throws java.lang.IndexOutOfBoundsException
vSpecific
-
java.lang.IndexOutOfBoundsException
public void addSpecific(int index, java.lang.String vSpecific) throws java.lang.IndexOutOfBoundsException
index
- vSpecific
-
java.lang.IndexOutOfBoundsException
public void clearExcludeRange()
public void clearIncludeRange()
public void clearIncludeUrl()
public void clearOutageCalendar()
public void clearService()
public void clearSpecific()
public java.util.Enumeration enumerateExcludeRange()
public java.util.Enumeration enumerateIncludeRange()
public java.util.Enumeration enumerateIncludeUrl()
public java.util.Enumeration enumerateOutageCalendar()
public java.util.Enumeration enumerateService()
public java.util.Enumeration enumerateSpecific()
public boolean equals(java.lang.Object obj)
obj
- public ExcludeRange getExcludeRange(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public ExcludeRange[] getExcludeRange()
public java.util.Collection getExcludeRangeCollection()
public int getExcludeRangeCount()
public Filter getFilter()
public IncludeRange getIncludeRange(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public IncludeRange[] getIncludeRange()
public java.util.Collection getIncludeRangeCollection()
public int getIncludeRangeCount()
public java.lang.String getIncludeUrl(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public java.lang.String[] getIncludeUrl()
public java.util.Collection getIncludeUrlCollection()
public int getIncludeUrlCount()
public java.lang.String getName()
public java.lang.String getOutageCalendar(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public java.lang.String[] getOutageCalendar()
public java.util.Collection getOutageCalendarCollection()
public int getOutageCalendarCount()
public Service getService(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public Service[] getService()
public java.util.Collection getServiceCollection()
public int getServiceCount()
public java.lang.String getSpecific(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public java.lang.String[] getSpecific()
public java.util.Collection getSpecificCollection()
public int getSpecificCount()
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.DocumentHandler handler) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
protected void notifyPropertyChangeListeners(java.lang.String fieldName, java.lang.Object oldValue, java.lang.Object newValue)
fieldName
- the name of the property that has changed.newValue
- the new value of the property.oldValue
- the old value of the property.public boolean removeExcludeRange(ExcludeRange vExcludeRange)
vExcludeRange
- public boolean removeIncludeRange(IncludeRange vIncludeRange)
vIncludeRange
- public boolean removeIncludeUrl(java.lang.String vIncludeUrl)
vIncludeUrl
- public boolean removeOutageCalendar(java.lang.String vOutageCalendar)
vOutageCalendar
- public boolean removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to remove.
public boolean removeService(Service vService)
vService
- public boolean removeSpecific(java.lang.String vSpecific)
vSpecific
- public void setExcludeRange(int index, ExcludeRange vExcludeRange) throws java.lang.IndexOutOfBoundsException
index
- vExcludeRange
-
java.lang.IndexOutOfBoundsException
public void setExcludeRange(ExcludeRange[] excludeRangeArray)
excludeRangeArray
- public void setExcludeRangeCollection(java.util.Collection vExcludeRange)
vExcludeRange
- public void setFilter(Filter filter)
filter
- the value of field 'filter'.public void setIncludeRange(int index, IncludeRange vIncludeRange) throws java.lang.IndexOutOfBoundsException
index
- vIncludeRange
-
java.lang.IndexOutOfBoundsException
public void setIncludeRange(IncludeRange[] includeRangeArray)
includeRangeArray
- public void setIncludeRangeCollection(java.util.Collection vIncludeRange)
vIncludeRange
- public void setIncludeUrl(int index, java.lang.String vIncludeUrl) throws java.lang.IndexOutOfBoundsException
index
- vIncludeUrl
-
java.lang.IndexOutOfBoundsException
public void setIncludeUrl(java.lang.String[] includeUrlArray)
includeUrlArray
- public void setIncludeUrlCollection(java.util.Collection vIncludeUrl)
vIncludeUrl
- public void setName(java.lang.String name)
name
- the value of field 'name'.public void setOutageCalendar(int index, java.lang.String vOutageCalendar) throws java.lang.IndexOutOfBoundsException
index
- vOutageCalendar
-
java.lang.IndexOutOfBoundsException
public void setOutageCalendar(java.lang.String[] outageCalendarArray)
outageCalendarArray
- public void setOutageCalendarCollection(java.util.Collection vOutageCalendar)
vOutageCalendar
- public void setService(int index, Service vService) throws java.lang.IndexOutOfBoundsException
index
- vService
-
java.lang.IndexOutOfBoundsException
public void setService(Service[] serviceArray)
serviceArray
- public void setServiceCollection(java.util.Collection vService)
vService
- public void setSpecific(int index, java.lang.String vSpecific) throws java.lang.IndexOutOfBoundsException
index
- vSpecific
-
java.lang.IndexOutOfBoundsException
public void setSpecific(java.lang.String[] specificArray)
specificArray
- public void setSpecificCollection(java.util.Collection vSpecific)
vSpecific
- public static Package 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
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |