Modifier and Type | Field and Description |
---|---|
protected boolean |
allConstraintsPositional |
protected List<? extends org.drools.compiler.lang.descr.BaseDescr> |
constraintDescrs |
protected RuleContext |
context |
protected PackageModel |
packageModel |
protected org.drools.compiler.lang.descr.PatternDescr |
pattern |
protected Class<?> |
patternType |
Modifier and Type | Method and Description |
---|---|
protected void |
buildConstraint(org.drools.compiler.lang.descr.PatternDescr pattern,
Class<?> patternType,
PatternConstraintParseResult patternConstraintParseResult) |
protected Optional<org.drools.javaparser.ast.expr.Expression> |
buildFromDeclaration(org.drools.compiler.lang.descr.PatternDescr pattern) |
protected abstract DSLNode |
createSimpleConstraint(DrlxParseSuccess drlxParseResult,
org.drools.compiler.lang.descr.PatternDescr pattern) |
protected List<PatternConstraintParseResult> |
findAllConstraint(org.drools.compiler.lang.descr.PatternDescr pattern,
List<? extends org.drools.compiler.lang.descr.BaseDescr> constraintDescrs,
Class<?> patternType) |
Optional<String> |
findFirstInnerBinding(org.drools.compiler.lang.descr.PatternDescr pattern,
List<? extends org.drools.compiler.lang.descr.BaseDescr> constraintDescrs,
Class<?> patternType) |
protected void |
generatePatternIdentifierIfMissing() |
DeclarationSpec |
initPattern() |
protected static boolean |
isPositional(org.drools.compiler.lang.descr.BaseDescr constraint) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
buildPattern
protected final RuleContext context
protected final PackageModel packageModel
protected final org.drools.compiler.lang.descr.PatternDescr pattern
protected final List<? extends org.drools.compiler.lang.descr.BaseDescr> constraintDescrs
protected final Class<?> patternType
protected final boolean allConstraintsPositional
public DeclarationSpec initPattern()
protected static boolean isPositional(org.drools.compiler.lang.descr.BaseDescr constraint)
protected Optional<org.drools.javaparser.ast.expr.Expression> buildFromDeclaration(org.drools.compiler.lang.descr.PatternDescr pattern)
protected void generatePatternIdentifierIfMissing()
public Optional<String> findFirstInnerBinding(org.drools.compiler.lang.descr.PatternDescr pattern, List<? extends org.drools.compiler.lang.descr.BaseDescr> constraintDescrs, Class<?> patternType)
protected List<PatternConstraintParseResult> findAllConstraint(org.drools.compiler.lang.descr.PatternDescr pattern, List<? extends org.drools.compiler.lang.descr.BaseDescr> constraintDescrs, Class<?> patternType)
protected void buildConstraint(org.drools.compiler.lang.descr.PatternDescr pattern, Class<?> patternType, PatternConstraintParseResult patternConstraintParseResult)
protected abstract DSLNode createSimpleConstraint(DrlxParseSuccess drlxParseResult, org.drools.compiler.lang.descr.PatternDescr pattern)
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.