Package org.opennms.protocols.xml.config
Class XmlGroups
- java.lang.Object
-
- org.opennms.protocols.xml.config.XmlGroups
-
- All Implemented Interfaces:
Serializable
,Cloneable
- Direct Known Subclasses:
XmlSource
public class XmlGroups extends Object implements Serializable, Cloneable
The Class XmlGroups.- Author:
- Alejandro Galue
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addXmlGroup(XmlGroup group)
Adds the XML group.XmlGroups
clone()
List<XmlGroup>
getXmlGroups()
Gets the XML groups.void
removeGroupByName(String name)
Removes the group by name.void
removeXmlGroup(XmlGroup group)
Removes the XML group.void
setXmlGroups(List<XmlGroup> xmlGroups)
Sets the XML groups.
-
-
-
Constructor Detail
-
XmlGroups
public XmlGroups()
Instantiates a new XML source.
-
XmlGroups
public XmlGroups(XmlGroups copy)
-
-
Method Detail
-
setXmlGroups
public void setXmlGroups(List<XmlGroup> xmlGroups)
Sets the XML groups.- Parameters:
xmlGroups
- the new XML groups
-
addXmlGroup
public void addXmlGroup(XmlGroup group)
Adds the XML group.- Parameters:
group
- the group
-
removeXmlGroup
public void removeXmlGroup(XmlGroup group)
Removes the XML group.- Parameters:
group
- the group
-
removeGroupByName
public void removeGroupByName(String name)
Removes the group by name.- Parameters:
name
- the name
-
-