org.drools.lang.api
Interface DeclareDescrBuilder

All Superinterfaces:
DescrBuilder<PackageDescrBuilder,PackageDescr>
All Known Implementing Classes:
DeclareDescrBuilderImpl

public interface DeclareDescrBuilder
extends DescrBuilder<PackageDescrBuilder,PackageDescr>

A descriptor builder for declare statements


Method Summary
 EntryPointDeclarationDescrBuilder entryPoint()
          Declares a new entry point
 EnumDeclarationDescrBuilder enumerative()
          Declares a new enum
 TypeDeclarationDescrBuilder type()
          Declares a new type
 WindowDeclarationDescrBuilder window()
          Declares a new window
 
Methods inherited from interface org.drools.lang.api.DescrBuilder
end, endCharacter, endLocation, getDescr, startCharacter, startLocation
 

Method Detail

entryPoint

EntryPointDeclarationDescrBuilder entryPoint()
Declares a new entry point

Returns:
the descriptor builder for the entry point

type

TypeDeclarationDescrBuilder type()
Declares a new type

Returns:
the descriptor builder for the type

window

WindowDeclarationDescrBuilder window()
Declares a new window

Returns:
the descriptor builder for the window

enumerative

EnumDeclarationDescrBuilder enumerative()
Declares a new enum

Returns:
the descriptor builder for the enum


Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.