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 voidaddAttribute(SnmpAttribute attr)addAttributebooleanequals(Object obj)Collection<CollectionAttribute>getAttributes()getAttributesAttributeGroupTypegetGroupType()getGroupTypeStringgetName()getNameinthashCode()hashCodebooleanshouldPersist(ServiceParameters params)shouldPersistStringtoString()toStringvoidvisit(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- aCollectionResourceobject.group- aAttributeGroupobject.
-
-
Method Detail
-
addAttribute
public void addAttribute(SnmpAttribute attr)
addAttribute
- Parameters:
attr- aSnmpAttributeobject.
-
getAttributes
public Collection<CollectionAttribute> getAttributes()
getAttributes
- Overrides:
getAttributesin classAttributeGroup- Returns:
- a
Collectionobject.
-
getGroupType
public AttributeGroupType getGroupType()
getGroupType
- Overrides:
getGroupTypein classAttributeGroup- Returns:
- a
AttributeGroupTypeobject.
-
getName
public String getName()
getName
- Overrides:
getNamein classAttributeGroup- Returns:
- a
Stringobject.
-
shouldPersist
public boolean shouldPersist(ServiceParameters params)
shouldPersist
- Specified by:
shouldPersistin interfacePersistable- Overrides:
shouldPersistin classAttributeGroup- Parameters:
params- aServiceParametersobject.- Returns:
- a boolean.
-
toString
public String toString()
toString
- Overrides:
toStringin classAttributeGroup- Returns:
- a
Stringobject.
-
visit
public void visit(CollectionSetVisitor visitor)
visit
- Specified by:
visitin interfaceCollectionVisitable- Overrides:
visitin classAttributeGroup- Parameters:
visitor- aCollectionSetVisitorobject.
-
-