Class EvaluatorPersistOperationBuilder
- java.lang.Object
-
- org.opennms.netmgt.collection.persistence.evaluate.EvaluatorPersistOperationBuilder
-
- All Implemented Interfaces:
PersistOperationBuilder
public class EvaluatorPersistOperationBuilder extends java.lang.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 void
commit()
Commit.java.lang.String
getName()
Gets the name.void
setAttributeMetadata(java.lang.String metricIdentifier, java.lang.String name)
Sets the attribute metadata.void
setAttributeValue(CollectionAttributeType attributeType, java.lang.Number value)
Sets the attribute value.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Gets the name.- Specified by:
getName
in interfacePersistOperationBuilder
- Returns:
- the name
-
setAttributeValue
public void setAttributeValue(CollectionAttributeType attributeType, java.lang.Number value)
Sets the attribute value.- Specified by:
setAttributeValue
in interfacePersistOperationBuilder
- Parameters:
attributeType
- the attribute typevalue
- the value
-
setAttributeMetadata
public void setAttributeMetadata(java.lang.String metricIdentifier, java.lang.String name)
Sets the attribute metadata.- Specified by:
setAttributeMetadata
in interfacePersistOperationBuilder
- Parameters:
metricIdentifier
- the metric identifiername
- the name
-
commit
public void commit() throws PersistException
Commit.- Specified by:
commit
in interfacePersistOperationBuilder
- Throws:
PersistException
- the persist exception
-
-