Package org.opennms.netmgt.collectd
Class AliasedGroup
- java.lang.Object
-
- org.opennms.netmgt.collection.api.AttributeGroup
-
- org.opennms.netmgt.collectd.AliasedGroup
-
- All Implemented Interfaces:
CollectionVisitable
,Persistable
public class AliasedGroup extends AttributeGroup
AliasedGroup class.
- Version:
- $Id: $
- Author:
- ranger
-
-
Constructor Summary
Constructors Constructor Description AliasedGroup(SnmpCollectionResource resource, AttributeGroup group)
Constructor for AliasedGroup.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAttribute(SnmpAttribute attr)
addAttributeboolean
equals(Object obj)
Collection<CollectionAttribute>
getAttributes()
getAttributesAttributeGroupType
getGroupType()
getGroupTypeString
getName()
getNameint
hashCode()
hashCodeboolean
shouldPersist(ServiceParameters params)
shouldPersistString
toString()
toStringvoid
visit(CollectionSetVisitor visitor)
visit-
Methods inherited from class org.opennms.netmgt.collection.api.AttributeGroup
addAttribute, doShouldPersist, getIfType, getResource
-
-
-
-
Constructor Detail
-
AliasedGroup
public AliasedGroup(SnmpCollectionResource resource, AttributeGroup group)
Constructor for AliasedGroup.
- Parameters:
resource
- aCollectionResource
object.group
- aAttributeGroup
object.
-
-
Method Detail
-
addAttribute
public void addAttribute(SnmpAttribute attr)
addAttribute
- Parameters:
attr
- aSnmpAttribute
object.
-
getAttributes
public Collection<CollectionAttribute> getAttributes()
getAttributes
- Overrides:
getAttributes
in classAttributeGroup
- Returns:
- a
Collection
object.
-
getGroupType
public AttributeGroupType getGroupType()
getGroupType
- Overrides:
getGroupType
in classAttributeGroup
- Returns:
- a
AttributeGroupType
object.
-
getName
public String getName()
getName
- Overrides:
getName
in classAttributeGroup
- Returns:
- a
String
object.
-
shouldPersist
public boolean shouldPersist(ServiceParameters params)
shouldPersist
- Specified by:
shouldPersist
in interfacePersistable
- Overrides:
shouldPersist
in classAttributeGroup
- Parameters:
params
- aServiceParameters
object.- Returns:
- a boolean.
-
toString
public String toString()
toString
- Overrides:
toString
in classAttributeGroup
- Returns:
- a
String
object.
-
visit
public void visit(CollectionSetVisitor visitor)
visit
- Specified by:
visit
in interfaceCollectionVisitable
- Overrides:
visit
in classAttributeGroup
- Parameters:
visitor
- aCollectionSetVisitor
object.
-
-