Package org.drools.template.model
Class Import
java.lang.Object
org.drools.template.model.DRLElement
org.drools.template.model.Import
- All Implemented Interfaces:
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidEach node can add its contribution to the outputvoidsetClassName(String clazz) Methods inherited from class org.drools.template.model.DRLElement
setComment
-
Constructor Details
-
Import
public Import()
-
-
Method Details
-
getClassName
- Returns:
- Returns the className.
-
setClassName
- Parameters:
clazz- The className to set.
-
renderDRL
Description copied from interface:DRLJavaEmitterEach node can add its contribution to the output- Specified by:
renderDRLin interfaceDRLJavaEmitter
-