Package org.drools.assistant.info

Examples of org.drools.assistant.info.RuleRefactorInfo


public class DSLRefactorProcessor extends AbstractRuleRefactorProcessor {

  @Override
  public List<AssistantOption> getRuleAssistant(String text, Integer offset) {
    RuleRefactorInfo ruleRefactorInfo = this.generateRuleRefactorInfo(text);
    ruleRefactorEngine = new DSLRuleRefactor(ruleRefactorInfo);
    return ruleRefactorEngine.execute(offset);
  }
View Full Code Here


 
  private static DRLRefactorProcessor instance;
 
  @Override
  public List<AssistantOption> getRuleAssistant(String text, Integer offset) {
    RuleRefactorInfo ruleRefactorInfo = generateRuleRefactorInfo(text);
    ruleRefactorEngine = new DRLRuleRefactor(ruleRefactorInfo);
    return ruleRefactorEngine.execute(offset);
  }
View Full Code Here

  }
 
  @Override
  protected RuleRefactorInfo generateRuleRefactorInfo(String text) {
    ruleParserEngine = new DRLParserEngine(text);
    RuleRefactorInfo info = ruleParserEngine.parse();
    return info;
  }
View Full Code Here

TOP

Related Classes of org.drools.assistant.info.RuleRefactorInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.