Package org.drools.template.model
Class Global
java.lang.Object
org.drools.template.model.DRLElement
org.drools.template.model.Global
- All Implemented Interfaces:
DRLJavaEmitter
Represents an application-data tag (nominally at the rule-set level). The idea of this can
be extended to other ruleset level settings.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidEach node can add its contribution to the outputvoidsetClassName(String clazz) voidsetIdentifier(String namez) Methods inherited from class org.drools.template.model.DRLElement
setComment
-
Constructor Details
-
Global
public Global()
-
-
Method Details
-
getClassName
- Returns:
- Returns the className.
-
getIdentifier
- Returns:
- Returns the varName.
-
setClassName
- Parameters:
clazz- The className to set.
-
setIdentifier
- Parameters:
namez- The identifier to set.
-
renderDRL
Description copied from interface:DRLJavaEmitterEach node can add its contribution to the output- Specified by:
renderDRLin interfaceDRLJavaEmitter
-