Package org.drools.compiler.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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.compiler.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
-
-