|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.collectd.AbstractCollectionAttribute
org.opennms.netmgt.collectd.SnmpAttribute
public class SnmpAttribute
| Constructor Summary | |
|---|---|
SnmpAttribute(CollectionResource resource,
SnmpAttributeType type,
SnmpValue val)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
SnmpAttributeType |
getAttributeType()
Return the attribute type for this attribute. |
String |
getName()
Gets the name of the attribute |
String |
getNumericValue()
Get the numeric value of the attribute, as a String. |
CollectionResource |
getResource()
|
String |
getStringValue()
Get the value of the attribute as a String. |
String |
getType()
Returns type of value (typically one of "counter", "gauge", "timeticks", "integer", "octetstring" - see NumericAttributeType) |
SnmpValue |
getValue()
|
int |
hashCode()
|
Category |
log()
|
boolean |
shouldPersist(ServiceParameters params)
Determines whether the attribute should be persisted. |
void |
storeAttribute(Persister persister)
Stores the attribute using the persister. |
String |
toString()
|
void |
visit(CollectionSetVisitor visitor)
Visit this attribute |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SnmpAttribute(CollectionResource resource,
SnmpAttributeType type,
SnmpValue val)
| Method Detail |
|---|
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic void visit(CollectionSetVisitor visitor)
CollectionAttribute
visit in interface CollectionAttributevisit in class AbstractCollectionAttributepublic SnmpAttributeType getAttributeType()
CollectionAttribute
getAttributeType in interface CollectionAttributegetAttributeType in class AbstractCollectionAttributepublic Category log()
log in class AbstractCollectionAttributepublic CollectionResource getResource()
getResource in interface CollectionAttributegetResource in class AbstractCollectionAttributepublic SnmpValue getValue()
public void storeAttribute(Persister persister)
CollectionAttribute
storeAttribute in interface CollectionAttributestoreAttribute in class AbstractCollectionAttributepublic String toString()
toString in class Objectpublic String getType()
CollectionAttribute
public boolean shouldPersist(ServiceParameters params)
CollectionAttribute
shouldPersist in interface CollectionAttributeshouldPersist in class AbstractCollectionAttributepublic String getName()
CollectionAttribute
getName in interface CollectionAttributegetName in class AbstractCollectionAttributepublic String getNumericValue()
CollectionAttribute
getNumericValue in interface CollectionAttributegetNumericValue in class AbstractCollectionAttributepublic String getStringValue()
CollectionAttribute
getStringValue in interface CollectionAttributegetStringValue in class AbstractCollectionAttribute
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||