205320542055205620572058205920602061
* @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; }
209320942095209620972098209921002101
215021512152215321542155215621572158
872873874875876877878879880
return loop; } public LoopType loop(int count) { LoopType loop = getNodeFactory().createLoop(); loop.setExpression(new ConstantExpression(Integer.toString(count))); addOutput(loop); return loop; }
6465666768697071
Pattern oneway = findOneWayAnnotation(method); if (oneway != null) { pattern = oneway.value(); } if (method.getAnnotation(org.apache.camel.RecipientList.class) != null) { recipientList = new RecipientList(new ConstantExpression(null)); } }
117711781179118011811182118311841185
203720382039204020412042204320442045
* @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; }
78798081828384858687
/** * 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)); } }
200220032004200520062007200820092010