public class AttributeGroup extends Object
AttributeGroup class.
Constructor and Description |
---|
AttributeGroup(CollectionResource resource,
AttributeGroupType groupType)
Constructor for AttributeGroup.
|
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(CollectionAttribute attr)
addAttribute
|
Collection<CollectionAttribute> |
getAttributes()
getAttributes
|
AttributeGroupType |
getGroupType()
getGroupType
|
String |
getName()
getName
|
CollectionResource |
getResource()
getResource
|
boolean |
shouldPersist(ServiceParameters params)
shouldPersist
|
String |
toString()
toString
|
void |
visit(CollectionSetVisitor visitor)
visit
|
public AttributeGroup(CollectionResource resource, AttributeGroupType groupType)
Constructor for AttributeGroup.
resource
- a CollectionResource
object.groupType
- a org.opennms.netmgt.collectd.AttributeGroupType
object.public CollectionResource getResource()
getResource
CollectionResource
object.public Collection<CollectionAttribute> getAttributes()
getAttributes
Collection
object.public void addAttribute(CollectionAttribute attr)
addAttribute
attr
- a CollectionAttribute
object.public void visit(CollectionSetVisitor visitor)
visit
visitor
- a CollectionSetVisitor
object.public boolean shouldPersist(ServiceParameters params)
shouldPersist
params
- a ServiceParameters
object.public AttributeGroupType getGroupType()
getGroupType
org.opennms.netmgt.collectd.AttributeGroupType
object.Copyright © 2015. All Rights Reserved.