public class AliasedResource extends SnmpCollectionResource
AliasedResource class.
Constructor and Description |
---|
AliasedResource(ResourceType resourceType,
String domain,
IfInfo ifInfo,
String ifAliasComment,
String ifAlias)
Constructor for AliasedResource.
|
Modifier and Type | Method and Description |
---|---|
String |
getDomain()
getDomain
|
Collection<AttributeGroup> |
getGroups()
getGroups
|
IfInfo |
getIfInfo()
getIfInfo
|
String |
getInstance()
getInstance
|
String |
getLabel()
getLabel
|
String |
getParent()
Returns the name of the parent resource.
|
File |
getResourceDir(RrdRepository repository)
getResourceDir
|
String |
getResourceTypeName()
getResourceTypeName
|
TimeKeeper |
getTimeKeeper()
Returns a not-null time tracker instance when this resource requires to use a special timestamp when updating RRDs/JRBs.
|
int |
getType()
getType
|
boolean |
isScheduledForCollection()
isScheduledForCollection
|
boolean |
rescanNeeded()
rescanNeeded
|
boolean |
shouldPersist(ServiceParameters serviceParameters)
shouldPersist
|
String |
toString()
toString
|
void |
visit(CollectionSetVisitor visitor)
visit
|
getCollectionAgent, getOwnerName, getResourceType, log, setAttributeValue
public AliasedResource(ResourceType resourceType, String domain, IfInfo ifInfo, String ifAliasComment, String ifAlias)
Constructor for AliasedResource.
resourceType
- a ResourceType
object.domain
- a String
object.ifInfo
- a IfInfo
object.ifAliasComment
- a String
object.ifAlias
- a String
object.public File getResourceDir(RrdRepository repository)
getResourceDir
getResourceDir
in interface ResourceIdentifier
getResourceDir
in class SnmpCollectionResource
repository
- a RrdRepository
object.File
object.public String toString()
toString
public boolean rescanNeeded()
rescanNeeded
rescanNeeded
in interface CollectionResource
rescanNeeded
in class SnmpCollectionResource
public boolean isScheduledForCollection()
isScheduledForCollection
public boolean shouldPersist(ServiceParameters serviceParameters)
shouldPersist
shouldPersist
in interface CollectionResource
shouldPersist
in class SnmpCollectionResource
serviceParameters
- a org.opennms.netmgt.collectd.ServiceParameters
object.public int getType()
getType
getType
in interface CollectionResource
getType
in class SnmpCollectionResource
public void visit(CollectionSetVisitor visitor)
visit
visit
in interface CollectionResource
visit
in class SnmpCollectionResource
visitor
- a org.opennms.netmgt.collectd.CollectionSetVisitor
object.public Collection<AttributeGroup> getGroups()
getGroups
getGroups
in class SnmpCollectionResource
Collection
object.public String getResourceTypeName()
getResourceTypeName
String
object.public String getParent()
CollectionResource
String
object.public TimeKeeper getTimeKeeper()
CollectionResource
getTimeKeeper
in interface CollectionResource
getTimeKeeper
in class SnmpCollectionResource
TimeKeeper
object.Copyright © 2015. All Rights Reserved.