public class RuleTemplateModelDRLPersistenceImpl extends RuleModelDRLPersistenceImpl
TemplateModel
to DRL templateModifier and Type | Class and Description |
---|---|
static class |
RuleTemplateModelDRLPersistenceImpl.LHSPatternVisitor |
static class |
RuleTemplateModelDRLPersistenceImpl.RHSActionVisitor |
RuleModelDRLPersistenceImpl.RHSClassDependencyVisitor
bindingsFields, bindingsPatterns, constraintValueBuilder, DEFAULT_DIALECT
Modifier and Type | Method and Description |
---|---|
static RuleModelPersistence |
getInstance() |
protected RuleTemplateModelDRLPersistenceImpl.LHSPatternVisitor |
getLHSPatternVisitor(boolean isDSLEnhanced,
StringBuilder buf,
String nestedIndentation,
boolean isNegated,
GeneratorContextFactory generatorContextFactory) |
protected RuleTemplateModelDRLPersistenceImpl.RHSActionVisitor |
getRHSActionVisitor(boolean isDSLEnhanced,
StringBuilder buf,
String indentation) |
String |
marshal(org.drools.workbench.models.datamodel.rule.RuleModel model) |
protected void |
marshalFooter(StringBuilder buf) |
protected String |
marshalRule(org.drools.workbench.models.datamodel.rule.RuleModel model) |
protected void |
marshalRuleHeader(org.drools.workbench.models.datamodel.rule.RuleModel model,
StringBuilder buf) |
protected String |
marshalRuleName(org.drools.workbench.models.datamodel.rule.RuleModel model) |
fixActionInsertFactBindings, marshalAttributes, marshalLHS, marshalMetadata, marshalPackageHeader, marshalRHS, unmarshal, unmarshalUsingDSL
public static RuleModelPersistence getInstance()
protected RuleTemplateModelDRLPersistenceImpl.LHSPatternVisitor getLHSPatternVisitor(boolean isDSLEnhanced, StringBuilder buf, String nestedIndentation, boolean isNegated, GeneratorContextFactory generatorContextFactory)
getLHSPatternVisitor
in class RuleModelDRLPersistenceImpl
protected RuleTemplateModelDRLPersistenceImpl.RHSActionVisitor getRHSActionVisitor(boolean isDSLEnhanced, StringBuilder buf, String indentation)
getRHSActionVisitor
in class RuleModelDRLPersistenceImpl
public String marshal(org.drools.workbench.models.datamodel.rule.RuleModel model)
marshal
in interface RuleModelPersistence
marshal
in class RuleModelDRLPersistenceImpl
protected String marshalRule(org.drools.workbench.models.datamodel.rule.RuleModel model)
marshalRule
in class RuleModelDRLPersistenceImpl
protected void marshalRuleHeader(org.drools.workbench.models.datamodel.rule.RuleModel model, StringBuilder buf)
marshalRuleHeader
in class RuleModelDRLPersistenceImpl
protected String marshalRuleName(org.drools.workbench.models.datamodel.rule.RuleModel model)
marshalRuleName
in class RuleModelDRLPersistenceImpl
protected void marshalFooter(StringBuilder buf)
marshalFooter
in class RuleModelDRLPersistenceImpl
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.