|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.monitoringLocations.LocationDef
public class LocationDef
This element contains the name of the location, the name of the monitoring area (used to aggregate locations, example: Area San Francisco, location name "SFO" which becomes SFO-1 or SFO-BuildingA, etc.) Critical link here is that the polling package name is used to link a polling configuration found in the polling-configuration.xml file.
| Constructor Summary | |
|---|---|
LocationDef()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getLocationName()
Returns the value of field 'locationName'. |
java.lang.String |
getMonitoringArea()
Returns the value of field 'monitoringArea'. |
java.lang.String |
getPollingPackageName()
Returns the value of field 'pollingPackageName'. |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
void |
setLocationName(java.lang.String locationName)
Sets the value of field 'locationName'. |
void |
setMonitoringArea(java.lang.String monitoringArea)
Sets the value of field 'monitoringArea'. |
void |
setPollingPackageName(java.lang.String pollingPackageName)
Sets the value of field 'pollingPackageName'. |
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 LocationDef()
| Method Detail |
|---|
public java.lang.String getLocationName()
public java.lang.String getMonitoringArea()
public java.lang.String getPollingPackageName()
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 void setLocationName(java.lang.String locationName)
locationName - the value of field 'locationName'.public void setMonitoringArea(java.lang.String monitoringArea)
monitoringArea - the value of field 'monitoringArea'.public void setPollingPackageName(java.lang.String pollingPackageName)
pollingPackageName - the value of field
'pollingPackageName'.
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 | ||||||||