Class EvaluatorPersistOperationBuilder
- java.lang.Object
-
- org.opennms.netmgt.collection.persistence.evaluate.EvaluatorPersistOperationBuilder
-
- All Implemented Interfaces:
PersistOperationBuilder
public class EvaluatorPersistOperationBuilder extends Object implements PersistOperationBuilder
The Class EvaluatorPersistOperationBuilder.- Author:
- Alejandro Galue
-
-
Constructor Summary
Constructors Constructor Description EvaluatorPersistOperationBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcommit()Commit.StringgetName()Gets the name.voidsetAttributeMetadata(String metricIdentifier, String name)Sets the attribute metadata.voidsetAttributeValue(CollectionAttributeType attributeType, Number value)Sets the attribute value.
-
-
-
Method Detail
-
getName
public String getName()
Gets the name.- Specified by:
getNamein interfacePersistOperationBuilder- Returns:
- the name
-
setAttributeValue
public void setAttributeValue(CollectionAttributeType attributeType, Number value)
Sets the attribute value.- Specified by:
setAttributeValuein interfacePersistOperationBuilder- Parameters:
attributeType- the attribute typevalue- the value
-
setAttributeMetadata
public void setAttributeMetadata(String metricIdentifier, String name)
Sets the attribute metadata.- Specified by:
setAttributeMetadatain interfacePersistOperationBuilder- Parameters:
metricIdentifier- the metric identifiername- the name
-
commit
public void commit() throws PersistExceptionCommit.- Specified by:
commitin interfacePersistOperationBuilder- Throws:
PersistException- the persist exception
-
-