public class XmpCollectionResource extends AbstractCollectionResource
m_agent
RESOURCE_TYPE_IF, RESOURCE_TYPE_NODE
Constructor and Description |
---|
XmpCollectionResource(CollectionAgent agent,
String resourceType,
String nodeTypeName,
String instance) |
Modifier and Type | Method and Description |
---|---|
void |
addAttributeGroup(AttributeGroup aGroup)
addAttributeGroup
|
Collection<AttributeGroup> |
getGroups()
getGroups
|
String |
getInstance()
Getter for the field
instance . |
Path |
getPath()
Retrieves path for the resource, relative to the root of the
associated
RrdRepository . |
String |
getResourceTypeName()
getResourceTypeName
|
String |
toString()
toString
|
void |
visit(CollectionSetVisitor visitor)
Deprecated.
This class should be changed to store its
AttributeGroup
collection in AbstractCollectionResource.m_attributeGroups like all of the other implementations do. |
addAttribute, getGroup, getInterfaceLabel, getOwnerName, getParent, getTimeKeeper, rescanNeeded, shouldPersist
public XmpCollectionResource(CollectionAgent agent, String resourceType, String nodeTypeName, String instance)
public Path getPath()
RrdRepository
.getPath
in interface ResourceIdentifier
getPath
in class AbstractCollectionResource
Path
object.public void addAttributeGroup(AttributeGroup aGroup)
addAttributeGroup
aGroup
- a AttributeGroup
object.public String getResourceTypeName()
getResourceTypeName
String
object.public Collection<AttributeGroup> getGroups()
getGroups
Collection
object.public String toString()
toString
public void visit(CollectionSetVisitor visitor)
AttributeGroup
collection in AbstractCollectionResource.m_attributeGroups
like all of the other implementations do.AbstractCollectionResource
visit
in interface CollectionVisitable
visit
in class AbstractCollectionResource
visitor
- a CollectionSetVisitor
object.Copyright © 2017. All rights reserved.