org.drools.lang.api.impl
Class DeclareDescrBuilderImpl

java.lang.Object
  extended by org.drools.lang.api.impl.BaseDescrBuilderImpl<PackageDescrBuilder,PackageDescr>
      extended by org.drools.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.lang.api.impl.BaseDescrBuilderImpl
descr, parent
 
Constructor Summary
protected DeclareDescrBuilderImpl(PackageDescrBuilder parent)
           
 
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 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

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 interface DeclareDescrBuilder
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 interface DeclareDescrBuilder
Returns:
the descriptor builder for the type

window

public WindowDeclarationDescrBuilder window()
Description copied from interface: DeclareDescrBuilder
Declares a new window

Specified by:
window in interface DeclareDescrBuilder
Returns:
the descriptor builder for the window

enumerative

public EnumDeclarationDescrBuilder enumerative()
Description copied from interface: DeclareDescrBuilder
Declares a new enum

Specified by:
enumerative in interface DeclareDescrBuilder
Returns:
the descriptor builder for the enum


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