@date 2022/7/6 16:59 @desc 表达式
| 7 | * @desc 表达式 |
| 8 | */ |
| 9 | public class Expression { |
| 10 | private boolean disable = false; |
| 11 | |
| 12 | private OperatorTypeEnum type; |
| 13 | |
| 14 | private String expression; |
| 15 | |
| 16 | public Expression(String expression, OperatorTypeEnum type) { |
| 17 | this.type = type; |
| 18 | this.expression = expression; |
| 19 | } |
| 20 | |
| 21 | public boolean isDisable() { |
| 22 | return disable; |
| 23 | } |
| 24 | |
| 25 | public void setDisable(boolean disable) { |
| 26 | this.disable = disable; |
| 27 | } |
| 28 | |
| 29 | public OperatorTypeEnum getType() { |
| 30 | return type; |
| 31 | } |
| 32 | |
| 33 | public String getExpression() { |
| 34 | return expression; |
| 35 | } |
| 36 | |
| 37 | public void setExpression(String expression) { |
| 38 | this.expression = expression; |
| 39 | } |
| 40 | } |
nothing calls this directly
no outgoing calls
no test coverage detected