public abstract class BasicEvaluator<T> extends Object implements IServiceEvaluator
| Constructor and Description |
|---|
BasicEvaluator(String propertyname)
Create a new evaluator.
|
BasicEvaluator(String propertyname,
MethodInfo mi)
Create a new evaluator.
|
BasicEvaluator(String propertyname,
MethodInfo methodinfo,
Object unit,
boolean required)
Create a new evaluator.
|
BasicEvaluator(String propertyname,
Object unit)
Create a new evaluator.
|
| Modifier and Type | Method and Description |
|---|---|
abstract double |
calculateEvaluation(T propertyvalue) |
IFuture<Double> |
evaluate(IService service)
Evaluate the service of method.
|
public BasicEvaluator(String propertyname)
propertyname - The property name.public BasicEvaluator(String propertyname, Object unit)
propertyname - The property name.public BasicEvaluator(String propertyname, MethodInfo mi)
propertyname - The property name.public BasicEvaluator(String propertyname, MethodInfo methodinfo, Object unit, boolean required)
propertyname - The property name.methodinfo - The method.unit - The unit.public abstract double calculateEvaluation(T propertyvalue)
propertyvalue - public IFuture<Double> evaluate(IService service)
evaluate in interface IServiceEvaluatorservice - The service being evaluated.Copyright © 2015. All Rights Reserved.