Package org.drools.template.model
Class Import
- java.lang.Object
-
- org.drools.template.model.DRLElement
-
- org.drools.template.model.Import
-
- All Implemented Interfaces:
DRLJavaEmitter
public class Import extends DRLElement implements DRLJavaEmitter
Represents an import (nominally at the rule-set level). The idea of this can be extended to other ruleset level settings.
-
-
Constructor Summary
Constructors Constructor Description Import()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getClassName()
void
renderDRL(DRLOutput out)
Each node can add its contribution to the outputvoid
setClassName(String clazz)
-
Methods inherited from class org.drools.template.model.DRLElement
setComment
-
-
-
-
Method Detail
-
getClassName
public String getClassName()
- Returns:
- Returns the className.
-
setClassName
public void setClassName(String clazz)
- Parameters:
className
- The className 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
-
-