public abstract class VmwareCollectionResource extends AbstractCollectionResource
m_agent
Constructor and Description |
---|
VmwareCollectionResource(CollectionAgent agent) |
Modifier and Type | Method and Description |
---|---|
abstract String |
getInstance()
Returns the name of the instance this CollectionResource represents.
|
String |
getParent()
Returns the name of the parent resource.
|
abstract String |
getResourceTypeName()
Returns a string which indicates what type of resource.
|
int |
getType()
getType
|
boolean |
rescanNeeded()
rescanNeeded
|
void |
setAttributeValue(CollectionAttributeType type,
String value) |
boolean |
shouldPersist(ServiceParameters params)
shouldPersist
|
addAttribute, getGroup, getLabel, getOwnerName, getResourceDir, getTimeKeeper, visit
public VmwareCollectionResource(CollectionAgent agent)
public int getType()
AbstractCollectionResource
getType
getType
in interface CollectionResource
getType
in class AbstractCollectionResource
public boolean rescanNeeded()
AbstractCollectionResource
rescanNeeded
rescanNeeded
in interface CollectionResource
rescanNeeded
in class AbstractCollectionResource
public boolean shouldPersist(ServiceParameters params)
AbstractCollectionResource
shouldPersist
shouldPersist
in interface CollectionResource
shouldPersist
in class AbstractCollectionResource
params
- a org.opennms.netmgt.collectd.ServiceParameters
object.public void setAttributeValue(CollectionAttributeType type, String value)
public abstract String getResourceTypeName()
CollectionResource
String
object.public abstract String getInstance()
CollectionResource
String
object.public String getParent()
CollectionResource
String
object.Copyright © 2015. All Rights Reserved.