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 void
commit()
Commit.String
getName()
Gets the name.void
setAttributeMetadata(String metricIdentifier, String name)
Sets the attribute metadata.void
setAttributeValue(CollectionAttributeType attributeType, Number value)
Sets the attribute value.
-
-
-
Method Detail
-
getName
public String getName()
Gets the name.- Specified by:
getName
in interfacePersistOperationBuilder
- Returns:
- the name
-
setAttributeValue
public void setAttributeValue(CollectionAttributeType attributeType, Number value)
Sets the attribute value.- Specified by:
setAttributeValue
in interfacePersistOperationBuilder
- Parameters:
attributeType
- the attribute typevalue
- the value
-
setAttributeMetadata
public void setAttributeMetadata(String metricIdentifier, 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
-
-