Class WindowReferenceGenerator


  • public class WindowReferenceGenerator
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addWindowReferences​(org.drools.compiler.builder.impl.TypeDeclarationContext typeDeclarationContext, org.drools.compiler.builder.impl.BuildResultCollector results, java.util.Set<org.drools.drl.ast.descr.WindowDeclarationDescr> windowReferences)  
      static org.drools.mvel.parser.ast.expr.TemporalLiteralChunkExpr parseDuration​(java.lang.String duration)  
      java.util.Optional<com.github.javaparser.ast.expr.Expression> visit​(org.drools.drl.ast.descr.PatternSourceDescr sourceDescr, RuleContext context)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WindowReferenceGenerator

        public WindowReferenceGenerator​(PackageModel packageModel,
                                        org.drools.util.TypeResolver typeResolver)
    • Method Detail

      • visit

        public java.util.Optional<com.github.javaparser.ast.expr.Expression> visit​(org.drools.drl.ast.descr.PatternSourceDescr sourceDescr,
                                                                                   RuleContext context)
      • addWindowReferences

        public void addWindowReferences​(org.drools.compiler.builder.impl.TypeDeclarationContext typeDeclarationContext,
                                        org.drools.compiler.builder.impl.BuildResultCollector results,
                                        java.util.Set<org.drools.drl.ast.descr.WindowDeclarationDescr> windowReferences)
      • parseDuration

        public static org.drools.mvel.parser.ast.expr.TemporalLiteralChunkExpr parseDuration​(java.lang.String duration)