@Override public void init(ProcessContext ctx) throws Exception { super.init(ctx); exp = new SerializableExpression(value); }
@Override public void init(ProcessContext ctx) throws Exception { super.init(ctx); localCtx = DataFactory.create(); localProcessContext = new ProcessContextMock2(); expressions = new SerializableExpression[keys.length]; if (keys == null) throw new IllegalArgumentException("Keys are not set!"); for (int i = 0; i < keys.length; i++) { String key = keys[i]; Expression<Serializable> e = null; e = new SerializableExpression("%{" + sourceCtx + "." + key + "}"); if (e != null) expressions[i] = e; } // KeySetConditions... if (conditionString != null && !conditionString.isEmpty()) { String s = conditionString.replace("sourceCtx.key", sourceCtx + ".key"); ConditionFactory cf = new ConditionFactory(); condition = cf.create(s); } }
@Override public void init(ProcessContext ctx) throws Exception { super.init(ctx); localCtx = DataFactory.create(); localProcessContext = new ProcessContextMock2(); expressions = new SerializableExpression[keys.length]; if (keys == null) throw new IllegalArgumentException("Keys are not set!"); for (int i = 0; i < keys.length; i++) { String key = keys[i]; Expression<Serializable> e = null; e = new SerializableExpression("%{" + sourceCtx + "." + key + "}"); if (e != null) expressions[i] = e; } // KeySetConditions... if (conditionString != null && !conditionString.isEmpty()) { String s = conditionString.replace("sourceCtx.key", sourceCtx + ".key"); ConditionFactory cf = new ConditionFactory(); condition = cf.create(s); } }