|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ogf.graap.wsag.server.monitoring.SimpleGuaranteeEvaluator
public class SimpleGuaranteeEvaluator
Default implementation of a guarantee evaluator. The guarantee evaluator evaluates the qualifying condition and service level objective of a given guarantee and returns the guarantee term state based on the evaluation result.
Constructor Summary | |
---|---|
SimpleGuaranteeEvaluator()
Default constructor |
Method Summary | |
---|---|
GuaranteeEvaluationResultType |
evaluate(GuaranteeTermType guarantee,
Map<String,Object> variables)
Evaluates a given guarantee. |
IAccountingSystem |
getAccountingSystem()
Deprecated. |
GuaranteeTermType[] |
selectGuaranteeTerms(AgreementPropertiesType properties)
Selects all guarantees in an agreement properties document. |
void |
setAccountingSystem(IAccountingSystem accountingSystem)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleGuaranteeEvaluator()
Method Detail |
---|
public IAccountingSystem getAccountingSystem()
getAccountingSystem
in interface IGuaranteeEvaluator
public void setAccountingSystem(IAccountingSystem accountingSystem)
setAccountingSystem
in interface IGuaranteeEvaluator
accountingSystem
- the accountingSystem to setpublic GuaranteeEvaluationResultType evaluate(GuaranteeTermType guarantee, Map<String,Object> variables) throws Exception
evaluate
in interface IGuaranteeEvaluator
guarantee
- the guarantee to evaluatevariables
- a name/value map containing the variables
Exception
- indicates an error while evaluating the guarantee termpublic GuaranteeTermType[] selectGuaranteeTerms(AgreementPropertiesType properties)
properties
- the agreement properties document
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |