@Test public void testDecisionNot() throws Exception { final JSONObject j = getObjectByLayerId("decisionNot", "layout"); assertTrue(getExpressionEvaluationAsBoolean(j, "notFalse-field")); assertFalse(getExpressionEvaluationAsBoolean(j, "notTrue-field")); assertTrue(getExpressionEvaluationAsBoolean(j, "chainedNot-field")); }
private Expression decisionNot() { if (json.size() != 2) { throwUnexpectedArgumentCount(NOT, 1); } Expression boolArg = parse.string(json, 1); return ff.function("not", boolArg); }
MBDecision extends MBExpression { private Expression decisionNot() { if (json.size() != 2) { throwUnexpectedArgumentCount(NOT, 1); } Expression boolArg = parse.string(json, 1); return ff.function("not", boolArg); } }
MBDecision extends MBExpression { private Expression decisionNot() { if (json.size() != 2) { throwUnexpectedArgumentCount(NOT, 1); } Expression boolArg = parse.string(json, 1); return ff.function("not", boolArg); } MBDecision(JSONArray json); }
MBDecision extends MBExpression { private Expression decisionNot() { if (json.size() != 2) { throwUnexpectedArgumentCount(NOT, 1); } Expression boolArg = parse.string(json, 1); return ff.function("not", boolArg); } MBDecision(JSONArray json); @Override Expression getExpression(); }
MBDecision extends MBExpression { private Expression decisionNot() { if (json.size() != 2) { throwUnexpectedArgumentCount(NOT, 1); } Expression boolArg = parse.string(json, 1); return ff.function("not", boolArg); } MBDecision(JSONArray json); @Override Expression getExpression();  }