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 SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddXmlGroup(XmlGroup group)Adds the XML group.XmlGroupsclone()List<XmlGroup>getXmlGroups()Gets the XML groups.voidremoveGroupByName(String name)Removes the group by name.voidremoveXmlGroup(XmlGroup group)Removes the XML group.voidsetXmlGroups(List<XmlGroup> xmlGroups)Sets the XML groups.
 
- 
- 
- 
Constructor Detail- 
XmlGroupspublic XmlGroups() Instantiates a new XML source.
 - 
XmlGroupspublic XmlGroups(XmlGroups copy) 
 
- 
 - 
Method Detail- 
setXmlGroupspublic void setXmlGroups(List<XmlGroup> xmlGroups) Sets the XML groups.- Parameters:
- xmlGroups- the new XML groups
 
 - 
addXmlGrouppublic void addXmlGroup(XmlGroup group) Adds the XML group.- Parameters:
- group- the group
 
 - 
removeXmlGrouppublic void removeXmlGroup(XmlGroup group) Removes the XML group.- Parameters:
- group- the group
 
 - 
removeGroupByNamepublic void removeGroupByName(String name) Removes the group by name.- Parameters:
- name- the name
 
 
- 
 
-