Package org.drools.template.model
Class Global
- java.lang.Object
-
- org.drools.template.model.DRLElement
-
- org.drools.template.model.Global
-
- All Implemented Interfaces:
DRLJavaEmitter
public class Global extends DRLElement implements 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 Constructor Description Global()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getClassName()
String
getIdentifier()
void
renderDRL(DRLOutput out)
Each node can add its contribution to the outputvoid
setClassName(String clazz)
void
setIdentifier(String namez)
-
Methods inherited from class org.drools.template.model.DRLElement
setComment
-
-
-
-
Method Detail
-
getClassName
public String getClassName()
- Returns:
- Returns the className.
-
getIdentifier
public String getIdentifier()
- Returns:
- Returns the varName.
-
setClassName
public void setClassName(String clazz)
- Parameters:
className
- The className to set.
-
setIdentifier
public void setIdentifier(String namez)
- Parameters:
varName
- The varName to set.
-
renderDRL
public void renderDRL(DRLOutput out)
Description copied from interface:DRLJavaEmitter
Each node can add its contribution to the output- Specified by:
renderDRL
in interfaceDRLJavaEmitter
-
-