Package org.opennms.protocols.xml.config
Class XmlSource
- java.lang.Object
-
- org.opennms.protocols.xml.config.XmlGroups
-
- org.opennms.protocols.xml.config.XmlSource
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<XmlSource>
public class XmlSource extends XmlGroups implements Serializable, Comparable<XmlSource>, Cloneable
The Class XmlSource.- Author:
- Alejandro Galue
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XmlSource
clone()
int
compareTo(XmlSource obj)
boolean
equals(Object obj)
List<String>
getImportGroupsList()
Gets the import groups list.Request
getRequest()
Gets the request.String
getUrl()
Gets the URL.boolean
hasImportGroups()
Checks for import groups.void
setImportGroupsList(List<String> importGroupsList)
Sets the import groups list.void
setRequest(Request request)
Sets the request.void
setUrl(String url)
Sets the URL.-
Methods inherited from class org.opennms.protocols.xml.config.XmlGroups
addXmlGroup, getXmlGroups, removeGroupByName, removeXmlGroup, setXmlGroups
-
-
-
-
Constructor Detail
-
XmlSource
public XmlSource()
Instantiates a new XML source.
-
XmlSource
public XmlSource(XmlSource copy)
-
-
Method Detail
-
getUrl
public String getUrl()
Gets the URL.- Returns:
- the URL
-
setUrl
public void setUrl(String url)
Sets the URL.- Parameters:
url
- the new URL
-
getRequest
public Request getRequest()
Gets the request.- Returns:
- the request
-
setRequest
public void setRequest(Request request)
Sets the request.- Parameters:
request
- the new request
-
getImportGroupsList
public List<String> getImportGroupsList()
Gets the import groups list.- Returns:
- the import groups list
-
setImportGroupsList
public void setImportGroupsList(List<String> importGroupsList)
Sets the import groups list.- Parameters:
importGroupsList
- the new import groups list
-
hasImportGroups
public boolean hasImportGroups()
Checks for import groups.- Returns:
- true, if successful
-
compareTo
public int compareTo(XmlSource obj)
- Specified by:
compareTo
in interfaceComparable<XmlSource>
-
-