org.opennms.netmgt.threshd
Class CollectionResourceWrapper

java.lang.Object
  extended by org.opennms.netmgt.threshd.CollectionResourceWrapper

public class CollectionResourceWrapper
extends Object


Constructor Summary
CollectionResourceWrapper(int nodeId, String hostAddress, String serviceName, RrdRepository repository, CollectionResource resource, Map<String,CollectionAttribute> attributes)
           
 
Method Summary
 Double getAttributeValue(String ds)
           
 String getHostAddress()
           
 String getIfIndex()
           
 String getIfInfoValue(String attribute)
           
 String getIfLabel()
           
 String getInstance()
           
 String getLabel()
           
 String getLabelValue(String ds)
           
 int getNodeId()
           
 RrdRepository getRepository()
           
 File getResourceDir()
           
 String getResourceTypeName()
           
 String getServiceName()
           
 boolean isAnInterfaceResource()
           
 boolean isValidInterfaceResource()
           
 void setLabel(String label)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CollectionResourceWrapper

public CollectionResourceWrapper(int nodeId,
                                 String hostAddress,
                                 String serviceName,
                                 RrdRepository repository,
                                 CollectionResource resource,
                                 Map<String,CollectionAttribute> attributes)
Method Detail

getNodeId

public int getNodeId()

getHostAddress

public String getHostAddress()

getServiceName

public String getServiceName()

getRepository

public RrdRepository getRepository()

getLabel

public String getLabel()

setLabel

public void setLabel(String label)

getInstance

public String getInstance()

getResourceTypeName

public String getResourceTypeName()

getResourceDir

public File getResourceDir()

getIfLabel

public String getIfLabel()

getIfIndex

public String getIfIndex()

getIfInfoValue

public String getIfInfoValue(String attribute)

isAnInterfaceResource

public boolean isAnInterfaceResource()

isValidInterfaceResource

public boolean isValidInterfaceResource()

getAttributeValue

public Double getAttributeValue(String ds)

getLabelValue

public String getLabelValue(String ds)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009. All Rights Reserved.