public class LogicHandlerImpl<T> extends Object implements LogicHandler<T>
| Constructor and Description |
|---|
LogicHandlerImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
handle(T inputData,
Conditions conditions,
MethodManager methodManager)
根据配置进行逻辑运算
|
protected boolean |
handleCondition(Condition condition,
Map<String,String> fieldNameAndValueMap,
MethodManager methodManager) |
protected boolean |
handleConditions(Collection<Condition> conditionCollection,
Map<String,String> fieldNameAndValueMap,
MethodManager methodManager) |
protected boolean |
handleConditions(Conditions conditions,
Map<String,String> fieldNameAndValueMap,
MethodManager methodManager) |
protected boolean |
handleFieldQualified(String fieldValue,
String configValue,
FieldQualified qualified) |
protected String |
handleFieldValue(Condition condition,
Map<String,String> fieldNameAndValueMap,
MethodManager methodManager) |
public boolean handle(T inputData, Conditions conditions, MethodManager methodManager) throws HandlerException
LogicHandlerhandle in interface LogicHandler<T>inputData - 输入对象conditions - 配置methodManager - 方法管理HandlerExceptionprotected boolean handleConditions(Conditions conditions, Map<String,String> fieldNameAndValueMap, MethodManager methodManager) throws HandlerException
HandlerExceptionprotected boolean handleConditions(Collection<Condition> conditionCollection, Map<String,String> fieldNameAndValueMap, MethodManager methodManager) throws HandlerException
HandlerExceptionprotected boolean handleCondition(Condition condition, Map<String,String> fieldNameAndValueMap, MethodManager methodManager) throws HandlerException
HandlerExceptionprotected boolean handleFieldQualified(String fieldValue, String configValue, FieldQualified qualified) throws HandlerException
HandlerExceptionCopyright © 2018. All rights reserved.