Class DeclareDescrBuilderImpl
- java.lang.Object
-
- org.drools.compiler.lang.api.impl.BaseDescrBuilderImpl<PackageDescrBuilder,PackageDescr>
-
- org.drools.compiler.lang.api.impl.DeclareDescrBuilderImpl
-
- All Implemented Interfaces:
DeclareDescrBuilder
,DescrBuilder<PackageDescrBuilder,PackageDescr>
public class DeclareDescrBuilderImpl extends BaseDescrBuilderImpl<PackageDescrBuilder,PackageDescr> implements DeclareDescrBuilder
-
-
Field Summary
-
Fields inherited from class org.drools.compiler.lang.api.impl.BaseDescrBuilderImpl
descr, parent
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DeclareDescrBuilderImpl(PackageDescrBuilder parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntryPointDeclarationDescrBuilder
entryPoint()
Declares a new entry pointEnumDeclarationDescrBuilder
enumerative()
Declares a new enumTypeDeclarationDescrBuilder
type()
Declares a new typeWindowDeclarationDescrBuilder
window()
Declares a new window-
Methods inherited from class org.drools.compiler.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.compiler.lang.api.DescrBuilder
end, endCharacter, endLocation, getDescr, startCharacter, startLocation
-
-
-
-
Constructor Detail
-
DeclareDescrBuilderImpl
protected DeclareDescrBuilderImpl(PackageDescrBuilder parent)
-
-
Method Detail
-
entryPoint
public EntryPointDeclarationDescrBuilder entryPoint()
Description copied from interface:DeclareDescrBuilder
Declares a new entry point- Specified by:
entryPoint
in interfaceDeclareDescrBuilder
- Returns:
- the descriptor builder for the entry point
-
type
public TypeDeclarationDescrBuilder type()
Description copied from interface:DeclareDescrBuilder
Declares a new type- Specified by:
type
in interfaceDeclareDescrBuilder
- Returns:
- the descriptor builder for the type
-
window
public WindowDeclarationDescrBuilder window()
Description copied from interface:DeclareDescrBuilder
Declares a new window- Specified by:
window
in interfaceDeclareDescrBuilder
- Returns:
- the descriptor builder for the window
-
enumerative
public EnumDeclarationDescrBuilder enumerative()
Description copied from interface:DeclareDescrBuilder
Declares a new enum- Specified by:
enumerative
in interfaceDeclareDescrBuilder
- Returns:
- the descriptor builder for the enum
-
-