public class AccumulateDescrBuilderImpl<P extends DescrBuilder<?,?>> extends BaseDescrBuilderImpl<P,AccumulateDescr> implements AccumulateDescrBuilder<P>
descr, parent| Constructor and Description |
|---|
AccumulateDescrBuilderImpl(P parent) |
| Modifier and Type | Method and Description |
|---|---|
AccumulateDescrBuilder<P> |
action(String block)
For accumulate CEs that use custom code blocks, this call
sets the content of the action code block.
|
AccumulateDescrBuilder<P> |
constraint(String constr) |
AccumulateDescrBuilder<P> |
function(String name,
String bind,
boolean unif,
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.
|
PatternDescrBuilder<AccumulateDescrBuilder<P>> |
pattern() |
PatternDescrBuilder<AccumulateDescrBuilder<P>> |
pattern(String type) |
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.
|
end, endCharacter, endLocation, getDescr, startCharacter, startLocationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitendendCharacter, endLocation, getDescr, startCharacter, startLocationpublic AccumulateDescrBuilderImpl(P parent)
public PatternDescrBuilder<AccumulateDescrBuilder<P>> pattern(String type)
public PatternDescrBuilder<AccumulateDescrBuilder<P>> pattern()
public CEDescrBuilder<AccumulateDescrBuilder<P>,AndDescr> source()
AccumulateDescrBuildersource in interface AccumulateDescrBuilder<P extends DescrBuilder<?,?>>public AccumulateDescrBuilder<P> function(String name, String bind, boolean unif, String... parameters)
AccumulateDescrBuilderfunction in interface AccumulateDescrBuilder<P extends DescrBuilder<?,?>>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.unif - true if the bound variable is expected to unify with the result of the acc function. false otherwiseparameters - the array of parameters to the function.public AccumulateDescrBuilder<P> init(String block)
AccumulateDescrBuilderinit in interface AccumulateDescrBuilder<P extends DescrBuilder<?,?>>block - the code for this blockpublic AccumulateDescrBuilder<P> action(String block)
AccumulateDescrBuilderaction in interface AccumulateDescrBuilder<P extends DescrBuilder<?,?>>block - the code for this blockpublic AccumulateDescrBuilder<P> reverse(String block)
AccumulateDescrBuilderreverse in interface AccumulateDescrBuilder<P extends DescrBuilder<?,?>>block - the code for this blockpublic AccumulateDescrBuilder<P> result(String expr)
AccumulateDescrBuilderresult in interface AccumulateDescrBuilder<P extends DescrBuilder<?,?>>expr - the return exprpublic AccumulateDescrBuilder<P> constraint(String constr)
constraint in interface AccumulateDescrBuilder<P extends DescrBuilder<?,?>>Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.