org.drools.lang.api
Interface GlobalDescrBuilder

All Superinterfaces:
DescrBuilder<PackageDescrBuilder,GlobalDescr>
All Known Implementing Classes:
GlobalDescrBuilderImpl

public interface GlobalDescrBuilder
extends DescrBuilder<PackageDescrBuilder,GlobalDescr>

A descriptor builder for Globals


Method Summary
 GlobalDescrBuilder identifier(String identifier)
          Sets the identifier for the global.
 GlobalDescrBuilder type(String type)
          Sets the type of the global.
 
Methods inherited from interface org.drools.lang.api.DescrBuilder
end, endCharacter, endLocation, getDescr, startCharacter, startLocation
 

Method Detail

type

GlobalDescrBuilder type(String type)
Sets the type of the global. E.g.: java.util.List

Parameters:
type -
Returns:
itself

identifier

GlobalDescrBuilder identifier(String identifier)
Sets the identifier for the global. E.g.: list

Parameters:
identifier -
Returns:
itself


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.