|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.lang.api.impl.BaseDescrBuilderImpl<P,PatternDescr>
org.drools.lang.api.impl.SourceDescrBuilderImpl<P>
public class SourceDescrBuilderImpl<P extends PatternDescrBuilder<?>>
A descr builder implementation for pattern sources
Field Summary |
---|
Fields inherited from class org.drools.lang.api.impl.BaseDescrBuilderImpl |
---|
descr, parent |
Constructor Summary | |
---|---|
protected |
SourceDescrBuilderImpl(P parent)
|
Method Summary | |
---|---|
AccumulateDescrBuilder<P> |
accumulate()
Defines the pattern source as being an accumulation |
CollectDescrBuilder<P> |
collect()
Defines the pattern source as a collection |
P |
entryPoint(String entryPoint)
Defines the pattern source as being an entry point |
P |
expression(String expression)
Defines the pattern source as being an expression result |
P |
window(String window)
Defines the pattern source as being a declared window |
Methods inherited from class org.drools.lang.api.impl.BaseDescrBuilderImpl |
---|
end, endCharacter, endLocation, getDescr, startCharacter, startLocation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.drools.lang.api.DescrBuilder |
---|
end, endCharacter, endLocation, getDescr, startCharacter, startLocation |
Constructor Detail |
---|
protected SourceDescrBuilderImpl(P parent)
Method Detail |
---|
public P expression(String expression)
SourceDescrBuilder
expression
in interface SourceDescrBuilder<P extends PatternDescrBuilder<?>>
expression
- the expression
public P entryPoint(String entryPoint)
SourceDescrBuilder
entryPoint
in interface SourceDescrBuilder<P extends PatternDescrBuilder<?>>
entryPoint
- the entry point identifier
public CollectDescrBuilder<P> collect()
SourceDescrBuilder
collect
in interface SourceDescrBuilder<P extends PatternDescrBuilder<?>>
public AccumulateDescrBuilder<P> accumulate()
SourceDescrBuilder
accumulate
in interface SourceDescrBuilder<P extends PatternDescrBuilder<?>>
public P window(String window)
SourceDescrBuilder
window
in interface SourceDescrBuilder<P extends PatternDescrBuilder<?>>
window
- the declared window identifier
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |