org.opennms.netmgt.collectd
Class AliasedResource
java.lang.Object
org.opennms.netmgt.collectd.CollectionResource
org.opennms.netmgt.collectd.AliasedResource
- All Implemented Interfaces:
- ResourceIdentifier
public class AliasedResource
- extends CollectionResource
|
Constructor Summary |
AliasedResource(ResourceType resourceType,
java.lang.String domain,
org.opennms.netmgt.collectd.IfInfo ifInfo,
java.lang.String ifAliasComment,
java.lang.String ifAlias)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AliasedResource
public AliasedResource(ResourceType resourceType,
java.lang.String domain,
org.opennms.netmgt.collectd.IfInfo ifInfo,
java.lang.String ifAliasComment,
java.lang.String ifAlias)
getIfInfo
public org.opennms.netmgt.collectd.IfInfo getIfInfo()
getDomain
public java.lang.String getDomain()
getResourceDir
public java.io.File getResourceDir(org.opennms.netmgt.model.RrdRepository repository)
- Specified by:
getResourceDir in interface ResourceIdentifier- Specified by:
getResourceDir in class CollectionResource
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.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 java.util.Collection getGroups()
- Overrides:
getGroups in class CollectionResource
Copyright © 2007. All Rights Reserved.