Class DatacollectionGroup
- java.lang.Object
-
- org.opennms.netmgt.config.datacollection.DatacollectionGroup
-
- All Implemented Interfaces:
java.io.Serializable
public class DatacollectionGroup extends java.lang.Object implements java.io.Serializable
Top-level element for the datacollection group configuration file.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DatacollectionGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addGroup(Group group)
void
addResourceType(ResourceType resourceType)
void
addSystemDef(SystemDef systemDef)
boolean
equals(java.lang.Object obj)
java.util.List<Group>
getGroups()
java.lang.String
getName()
data collector group namejava.util.List<ResourceType>
getResourceTypes()
java.util.List<SystemDef>
getSystemDefs()
int
hashCode()
boolean
removeGroup(Group group)
boolean
removeResourceType(ResourceType resourceType)
boolean
removeSystemDef(SystemDef systemDef)
void
setGroups(java.util.List<Group> groups)
void
setName(java.lang.String name)
void
setResourceTypes(java.util.List<ResourceType> resourceTypes)
void
setSystemDefs(java.util.List<SystemDef> systemDefs)
java.lang.String
toString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
data collector group name
-
setName
public void setName(java.lang.String name)
-
getResourceTypes
public java.util.List<ResourceType> getResourceTypes()
-
setResourceTypes
public void setResourceTypes(java.util.List<ResourceType> resourceTypes)
-
addResourceType
public void addResourceType(ResourceType resourceType) throws java.lang.IndexOutOfBoundsException
- Throws:
java.lang.IndexOutOfBoundsException
-
removeResourceType
public boolean removeResourceType(ResourceType resourceType)
-
getGroups
public java.util.List<Group> getGroups()
-
setGroups
public void setGroups(java.util.List<Group> groups)
-
addGroup
public void addGroup(Group group) throws java.lang.IndexOutOfBoundsException
- Throws:
java.lang.IndexOutOfBoundsException
-
removeGroup
public boolean removeGroup(Group group)
-
getSystemDefs
public java.util.List<SystemDef> getSystemDefs()
-
setSystemDefs
public void setSystemDefs(java.util.List<SystemDef> systemDefs)
-
addSystemDef
public void addSystemDef(SystemDef systemDef) throws java.lang.IndexOutOfBoundsException
- Throws:
java.lang.IndexOutOfBoundsException
-
removeSystemDef
public boolean removeSystemDef(SystemDef systemDef)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-