196119621963196419651966196719681969
* @param count the number of times * @return the builder */ public LoopDefinition loop(int count) { LoopDefinition loop = getNodeFactory().createLoop(); loop.setExpression(new ConstantExpression(Integer.toString(count))); addOutput(loop); return loop; }
206420652066206720682069207020712072
151115121513151415151516151715181519
81828384858687888990
/** * Specify the constant expression value */ public T constant(Object value) { if (value instanceof String) { return expression(new ConstantExpression((String) value)); } else { return expression(ExpressionBuilder.constantExpression(value)); } }
196719681969197019711972197319741975
80818283848586878889
211321142115211621172118211921202121
* @param count the number of times * @return the builder */ public LoopDefinition loop(int count) { LoopDefinition loop = new LoopDefinition(); loop.setExpression(new ConstantExpression(Integer.toString(count))); addOutput(loop); return loop; }
78798081828384
return invoked; } public void beforeWrap(RouteContext routeContext, ProcessorDefinition<?> definition) { SetBodyDefinition bodyDef = (SetBodyDefinition) definition.getOutputs().get(0); bodyDef.setExpression(new ConstantExpression("body was altered")); }
204420452046204720482049205020512052