org.opennms.netmgt.collectd
Class AliasedResource

java.lang.Object
  extended by org.opennms.netmgt.collectd.CollectionResource
      extended by org.opennms.netmgt.collectd.AliasedResource
All Implemented Interfaces:
ResourceIdentifier

public class AliasedResource
extends CollectionResource


Constructor Summary
AliasedResource(ResourceType resourceType, String domain, org.opennms.netmgt.collectd.IfInfo ifInfo, String ifAliasComment, String ifAlias)
           
 
Method Summary
 String getDomain()
           
 Collection getGroups()
           
 org.opennms.netmgt.collectd.IfInfo getIfInfo()
           
 File getResourceDir(org.opennms.netmgt.model.RrdRepository repository)
           
protected  int getType()
           
 boolean isScheduledForCollection()
           
 boolean rescanNeeded()
           
 boolean shouldPersist(ServiceParameters serviceParameters)
           
 String toString()
           
 void visit(CollectionSetVisitor visitor)
           
 
Methods inherited from class org.opennms.netmgt.collectd.CollectionResource
getCollectionAgent, getOwnerName, getResourceType, log, setAttributeValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AliasedResource

public AliasedResource(ResourceType resourceType,
                       String domain,
                       org.opennms.netmgt.collectd.IfInfo ifInfo,
                       String ifAliasComment,
                       String ifAlias)
Method Detail

getIfInfo

public org.opennms.netmgt.collectd.IfInfo getIfInfo()

getDomain

public String getDomain()

getResourceDir

public File getResourceDir(org.opennms.netmgt.model.RrdRepository repository)
Specified by:
getResourceDir in interface ResourceIdentifier
Specified by:
getResourceDir in class CollectionResource

toString

public String toString()
Overrides:
toString in class Object

rescanNeeded

public boolean rescanNeeded()
Overrides:
rescanNeeded in class CollectionResource

isScheduledForCollection

public boolean isScheduledForCollection()

shouldPersist

public boolean shouldPersist(ServiceParameters serviceParameters)
Specified by:
shouldPersist in class CollectionResource

getType

protected int getType()
Specified by:
getType in class CollectionResource

visit

public void visit(CollectionSetVisitor visitor)
Overrides:
visit in class CollectionResource

getGroups

public Collection getGroups()
Overrides:
getGroups in class CollectionResource


Copyright ? 2007. All Rights Reserved.