Package org.drools.compiler.lang.api
Interface NamedConsequenceDescrBuilder<P extends DescrBuilder<?,?>>
-
- All Superinterfaces:
DescrBuilder<P,NamedConsequenceDescr>
- All Known Implementing Classes:
NamedConsequenceDescrBuilderImpl
public interface NamedConsequenceDescrBuilder<P extends DescrBuilder<?,?>> extends DescrBuilder<P,NamedConsequenceDescr>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NamedConsequenceDescrBuilder<P>
breaking(boolean breaking)
Sets the consequence invocation as breaking or notNamedConsequenceDescrBuilder<P>
name(String name)
Sets the consequence name-
Methods inherited from interface org.drools.compiler.lang.api.DescrBuilder
end, endCharacter, endLocation, getDescr, startCharacter, startLocation
-
-
-
-
Method Detail
-
name
NamedConsequenceDescrBuilder<P> name(String name)
Sets the consequence name- Parameters:
name
- the name of the consequence to be invoked- Returns:
- itself
-
breaking
NamedConsequenceDescrBuilder<P> breaking(boolean breaking)
Sets the consequence invocation as breaking or not- Parameters:
breaking
-- Returns:
- itself
-
-