Class DeclaredType

java.lang.Object
org.drools.template.model.DeclaredType
All Implemented Interfaces:
DRLJavaEmitter

public class DeclaredType extends Object implements DRLJavaEmitter
Wrapper for declarative types. Declared Types must be written in the appropriate style, no formatting is contributed here.
  • Constructor Details

    • DeclaredType

      public DeclaredType()
  • Method Details

    • setDeclaredTypeListing

      public void setDeclaredTypeListing(String declaredTypeListing)
    • renderDRL

      public void renderDRL(DRLOutput out)
      Description copied from interface: DRLJavaEmitter
      Each node can add its contribution to the output
      Specified by:
      renderDRL in interface DRLJavaEmitter