public class RrdGraphAttribute extends Object implements OnmsAttribute
RrdGraphAttribute class.
Constructor and Description |
---|
RrdGraphAttribute() |
RrdGraphAttribute(String name,
String relativePath,
String rrdFile)
Constructor for RrdGraphAttribute.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getName()
getName
|
OnmsResource |
getResource()
Retrieve the resource for this attribute.
|
String |
getRrdFile()
getRrdFile
|
String |
getRrdRelativePath()
getRrdRelativePath
|
int |
hashCode() |
void |
setName(String name) |
void |
setResource(OnmsResource resource)
setResource
|
void |
setRrdFile(String rrdFile) |
void |
setRrdRelativePath(String relativePath) |
String |
toString() |
public String getName()
getName
getName
in interface OnmsAttribute
String
object.public void setName(String name)
public OnmsResource getResource()
getResource
in interface OnmsAttribute
OnmsResource
object.public void setResource(OnmsResource resource)
setResource
Set the resource for this attribute. This is called when the attribute is added to a resource.setResource
in interface OnmsAttribute
resource
- a OnmsResource
object.public void setRrdRelativePath(String relativePath)
public void setRrdFile(String rrdFile)
Copyright © 2021. All rights reserved.