Package org.drools.drl.ast.dsl
Interface GlobalDescrBuilder
- All Superinterfaces:
DescrBuilder<PackageDescrBuilder,GlobalDescr>
- All Known Implementing Classes:
GlobalDescrBuilderImpl
A descriptor builder for Globals
-
Method Summary
Modifier and TypeMethodDescriptionidentifier(String identifier) Sets the identifier for the global.Sets the type of the global.Methods inherited from interface org.drools.drl.ast.dsl.DescrBuilder
end, endCharacter, endLocation, getDescr, getParent, startCharacter, startLocation
-
Method Details
-
type
Sets the type of the global. E.g.: java.util.List- Parameters:
type-- Returns:
- itself
-
identifier
Sets the identifier for the global. E.g.: list- Parameters:
identifier-- Returns:
- itself
-