public static interface EvaluationContext.Listener
<AV extends AttributeValue> void namedAttributeValueProduced(AttributeFqn attributeFQN, AttributeBag<AV> value)
EvaluationContext.putNamedAttributeValueIfAbsent(AttributeFqn, AttributeBag)
is called iff the value was not available in the context yet (i.e. first time it is
produced in the request context)attributeFQN
- attribute GUID (global ID = Category,Issuer,AttributeId)value
- attribute value bag<AV extends AttributeValue> void namedAttributeValueConsumed(AttributeFqn attributeFQN, AttributeBag<AV> value)
EvaluationContext.getNamedAttributeValue(AttributeFqn, Datatype)
is calledattributeFQN
- attribute GUID (global ID = Category,Issuer,AttributeId)value
- attribute value bag; null if the request named attribute was undefined in this context<AV extends AttributeValue> void attributeSelectorResultProduced(AttributeSelectorExpression<AV> attributeSelector, Optional<AttributeBag<XPathValue>> contextSelectorBag, Bag<AV> result)
EvaluationContext.putAttributeSelectorResultIfAbsent(AttributeSelectorExpression, Bag)
is called iff the result was not available in the context yet (i.e. first
time it is produced in the request context)attributeSelector
- attribute selectorcontextSelectorBag
- (optional) xPath-expression value of attribute referenced by ContextSelectorId if presentresult
- evaluation result<AV extends AttributeValue> void attributeSelectorResultConsumed(AttributeSelectorExpression<AV> attributeSelector, Bag<AV> result)
EvaluationContext.getAttributeSelectorResult(AttributeSelectorExpression)
is calledattributeSelector
- attribute selectorresult
- evaluation resultCopyright © 2012–2020. All rights reserved.