public class VmwareCimCollectionAttribute extends AbstractCollectionAttribute implements CollectionAttribute
Constructor and Description |
---|
VmwareCimCollectionAttribute(VmwareCimCollectionResource resource,
CollectionAttributeType attribType,
String alias,
String value) |
Modifier and Type | Method and Description |
---|---|
CollectionAttributeType |
getAttributeType()
getAttributeType
|
String |
getMetricIdentifier()
Get the metric identifier for the attribute to be used for NRTG collection
|
String |
getName()
getName
|
String |
getNumericValue()
getNumericValue
|
CollectionResource |
getResource()
getResource
|
String |
getStringValue()
getStringValue
|
String |
getType()
Returns type of value (typically one of "counter", "gauge", "timeticks", "integer", "octetstring" - see NumericAttributeType)
|
boolean |
shouldPersist(ServiceParameters params)
Determines whether the attribute should be persisted.
|
String |
toString() |
log, storeAttribute, visit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
storeAttribute, visit
public VmwareCimCollectionAttribute(VmwareCimCollectionResource resource, CollectionAttributeType attribType, String alias, String value)
public CollectionAttributeType getAttributeType()
AbstractCollectionAttribute
getAttributeType
getAttributeType
in interface CollectionAttribute
getAttributeType
in class AbstractCollectionAttribute
CollectionAttributeType
object.public String getName()
AbstractCollectionAttribute
getName
getName
in interface CollectionAttribute
getName
in class AbstractCollectionAttribute
String
object.public String getMetricIdentifier()
CollectionAttribute
getMetricIdentifier
in interface CollectionAttribute
public String getNumericValue()
AbstractCollectionAttribute
getNumericValue
getNumericValue
in interface CollectionAttribute
getNumericValue
in class AbstractCollectionAttribute
String
object.public CollectionResource getResource()
AbstractCollectionAttribute
getResource
getResource
in interface CollectionAttribute
getResource
in class AbstractCollectionAttribute
CollectionResource
object.public String getStringValue()
AbstractCollectionAttribute
getStringValue
getStringValue
in interface CollectionAttribute
getStringValue
in class AbstractCollectionAttribute
String
object.public boolean shouldPersist(ServiceParameters params)
shouldPersist
in interface CollectionAttribute
shouldPersist
in class AbstractCollectionAttribute
params
- a ServiceParameters
object.public String getType()
CollectionAttribute
getType
in interface CollectionAttribute
Copyright © 2015. All Rights Reserved.