Package org.drools.drl.ast.dsl
Interface SourceDescrBuilder<P extends PatternDescrBuilder<?>>
- All Superinterfaces:
DescrBuilder<P,PatternDescr>
- All Known Implementing Classes:
SourceDescrBuilderImpl
public interface SourceDescrBuilder<P extends PatternDescrBuilder<?>>
extends DescrBuilder<P,PatternDescr>
A descriptor builder for Pattern sources
-
Method Summary
Modifier and TypeMethodDescriptionDefines the pattern source as being an accumulationcollect()Defines the pattern source as a collectionentryPoint(String entryPoint) Defines the pattern source as being an entry pointexpression(String expression) Defines the pattern source as being an expression resultgroupBy()Defines the pattern source as being a declared windowMethods inherited from interface org.drools.drl.ast.dsl.DescrBuilder
end, endCharacter, endLocation, getDescr, getParent, startCharacter, startLocation
-
Method Details
-
expression
Defines the pattern source as being an expression result- Parameters:
expression- the expression- Returns:
- parent descriptor builder
-
entryPoint
Defines the pattern source as being an entry point- Parameters:
entryPoint- the entry point identifier- Returns:
- parent descriptor builder
-
collect
CollectDescrBuilder<P> collect()Defines the pattern source as a collection- Returns:
- the collect descriptor builder
-
accumulate
AccumulateDescrBuilder<P> accumulate()Defines the pattern source as being an accumulation- Returns:
- the accumulate descriptor builder
-
groupBy
GroupByDescrBuilder<P> groupBy() -
window
Defines the pattern source as being a declared window- Parameters:
window- the declared window identifier- Returns:
- parent descriptor builder
-