org.opennms.netmgt.collectd.wmi
Class WmiCollectionResource

java.lang.Object
  extended by org.opennms.netmgt.collectd.AbstractCollectionResource
      extended by org.opennms.netmgt.collectd.wmi.WmiCollectionResource
All Implemented Interfaces:
CollectionResource, ResourceIdentifier
Direct Known Subclasses:
WmiMultiInstanceCollectionResource, WmiSingleInstanceCollectionResource

public abstract class WmiCollectionResource
extends AbstractCollectionResource


Field Summary
 
Fields inherited from class org.opennms.netmgt.collectd.AbstractCollectionResource
m_agent
 
Constructor Summary
WmiCollectionResource(CollectionAgent agent)
           
 
Method Summary
abstract  String getInstance()
           
abstract  String getResourceTypeName()
           
 int getType()
           
 boolean rescanNeeded()
           
 void setAttributeValue(CollectionAttributeType type, String value)
           
 boolean shouldPersist(ServiceParameters params)
           
 
Methods inherited from class org.opennms.netmgt.collectd.AbstractCollectionResource
addAttribute, getGroup, getLabel, getOwnerName, getResourceDir, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WmiCollectionResource

public WmiCollectionResource(CollectionAgent agent)
Method Detail

getType

public int getType()
Specified by:
getType in interface CollectionResource
Specified by:
getType in class AbstractCollectionResource

rescanNeeded

public boolean rescanNeeded()
Specified by:
rescanNeeded in interface CollectionResource
Specified by:
rescanNeeded in class AbstractCollectionResource

shouldPersist

public boolean shouldPersist(ServiceParameters params)
Specified by:
shouldPersist in interface CollectionResource
Specified by:
shouldPersist in class AbstractCollectionResource

setAttributeValue

public void setAttributeValue(CollectionAttributeType type,
                              String value)

getResourceTypeName

public abstract String getResourceTypeName()

getInstance

public abstract String getInstance()


Copyright © 2009. All Rights Reserved.