use of io.vertigo.account.authorization.metamodel.rulemodel.RuleValue in project vertigo by KleeGroup.
the class DslExpressionRule method handle.
/**
* {@inheritDoc}
*/
@Override
protected RuleExpression handle(final List<Object> parsing) {
final String fieldName = (String) parsing.get(1);
final ValueOperator operator = (ValueOperator) parsing.get(3);
final RuleValue value = (RuleValue) ((PegChoice) parsing.get(5)).getValue();
return new RuleExpression(fieldName, operator, value);
}
Aggregations