public static class RuleModelDRLPersistenceImpl.RHSActionVisitor
extends org.drools.core.util.ReflectiveVisitor
Modifier and Type | Field and Description |
---|---|
protected StringBuilder |
buf |
protected DRLConstraintValueBuilder |
constraintValueBuilder |
protected RHSGeneratorContextFactory |
generatorContextFactory |
protected RHSGeneratorContext |
rootContext |
Constructor and Description |
---|
RuleModelDRLPersistenceImpl.RHSActionVisitor(boolean isDSLEnhanced,
Map<String,IFactPattern> bindingsPatterns,
Map<String,FieldConstraint> bindingsFields,
DRLConstraintValueBuilder constraintValueBuilder,
RHSGeneratorContextFactory generatorContextFactory,
StringBuilder b,
String indentation) |
protected StringBuilder buf
protected DRLConstraintValueBuilder constraintValueBuilder
protected RHSGeneratorContextFactory generatorContextFactory
protected final RHSGeneratorContext rootContext
public RuleModelDRLPersistenceImpl.RHSActionVisitor(boolean isDSLEnhanced, Map<String,IFactPattern> bindingsPatterns, Map<String,FieldConstraint> bindingsFields, DRLConstraintValueBuilder constraintValueBuilder, RHSGeneratorContextFactory generatorContextFactory, StringBuilder b, String indentation)
protected void preGenerateAction(RHSGeneratorContext gctx)
protected void postGenerateAction(RHSGeneratorContext gctx)
protected void preGenerateSetMethodCallParameterValue(RHSGeneratorContext gctx, ActionFieldValue fieldValue)
public void visitActionInsertFact(ActionInsertFact action)
public void visitActionInsertLogicalFact(ActionInsertLogicalFact action)
public void visitFreeFormLine(FreeFormLine ffl)
public void visitActionUpdateField(ActionUpdateField action)
public void visitActionGlobalCollectionAdd(ActionGlobalCollectionAdd add)
public void visitActionRetractFact(ActionRetractFact action)
public void visitDSLSentence(DSLSentence sentence)
public void visitActionExecuteWorkItem(ActionExecuteWorkItem action)
public void visitActionSetField(ActionSetField action)
protected void generateSetMethodCall(String variableName, ActionFieldValue fieldValue)
protected void generateModifyMethodCall(RHSGeneratorContext gctx, ActionFieldValue fieldValue)
protected void generateModifyMethodSeparator(RHSGeneratorContext gctx, ActionFieldValue fieldValue)
protected void buildFormulaFieldValue(ActionFieldValue fieldValue, StringBuilder buf)
protected void buildVariableFieldValue(ActionFieldValue fieldValue, StringBuilder buf)
protected void buildTemplateFieldValue(ActionFieldValue fieldValue, StringBuilder buf)
protected void buildWorkItemFieldValue(ActionWorkItemFieldValue afv, StringBuilder buf)
protected void buildDefaultFieldValue(ActionFieldValue fieldValue, StringBuilder buf)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.