|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AccumulateDescrBuilder<P extends DescrBuilder<?,?>>
A descriptor builder for Accumulate
Method Summary | |
---|---|
AccumulateDescrBuilder<P> |
action(String block)
For accumulate CEs that use custom code blocks, this call sets the content of the action code block. |
P |
end()
Returns the parent container of this descr builder. |
AccumulateDescrBuilder<P> |
function(String name,
String bind,
String[] parameters)
For accumulate CEs that use accumulate functions, this call instantiate one accumulate function call. |
AccumulateDescrBuilder<P> |
init(String block)
For accumulate CEs that use custom code blocks, this call sets the content of the init code block. |
AccumulateDescrBuilder<P> |
multiFunction(boolean b)
|
AccumulateDescrBuilder<P> |
result(String expr)
For accumulate CEs that use custom code blocks, this call sets the content of the result expression. |
AccumulateDescrBuilder<P> |
reverse(String block)
For accumulate CEs that use custom code blocks, this call sets the content of the reverse code block. |
CEDescrBuilder<AccumulateDescrBuilder<P>,AndDescr> |
source()
Defines the source CE for the Accumulate CE. |
Methods inherited from interface org.drools.lang.api.DescrBuilder |
---|
endCharacter, endLocation, getDescr, startCharacter, startLocation |
Method Detail |
---|
CEDescrBuilder<AccumulateDescrBuilder<P>,AndDescr> source()
AccumulateDescrBuilder<P> function(String name, String bind, String[] parameters)
name
- the name of the function being called. Mandatory non-null parameter.bind
- the name of the bound variable if there is one. Null if no binding should be made.parameters
- the array of parameters to the function.
AccumulateDescrBuilder<P> init(String block)
block
- the code for this block
AccumulateDescrBuilder<P> action(String block)
block
- the code for this block
AccumulateDescrBuilder<P> reverse(String block)
block
- the code for this block
AccumulateDescrBuilder<P> result(String expr)
expr
- the return expr
AccumulateDescrBuilder<P> multiFunction(boolean b)
P end()
DescrBuilder
end
in interface DescrBuilder<P extends DescrBuilder<?,?>,AccumulateDescr>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |