org.drools.ide.common.assistant.refactor
Class DRLRuleRefactor

java.lang.Object
  extended by org.drools.ide.common.assistant.refactor.AbstractRuleRefactor
      extended by org.drools.ide.common.assistant.refactor.DRLRuleRefactor

public class DRLRuleRefactor
extends AbstractRuleRefactor


Field Summary
 
Fields inherited from class org.drools.ide.common.assistant.refactor.AbstractRuleRefactor
offset, option, options, ruleRefactorInfo
 
Constructor Summary
DRLRuleRefactor(RuleRefactorInfo refactorInfo)
           
 
Method Summary
protected  AssistantOption bindVariable(RuleBasicContentInfo contentInfo)
           
 List<AssistantOption> execute(int offset)
           
protected  AssistantOption fixImports(RuleBasicContentInfo contentInfo)
           
protected  AssistantOption renameVariable(RuleBasicContentInfo contentInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DRLRuleRefactor

public DRLRuleRefactor(RuleRefactorInfo refactorInfo)
Method Detail

execute

public List<AssistantOption> execute(int offset)
Specified by:
execute in class AbstractRuleRefactor

bindVariable

protected AssistantOption bindVariable(RuleBasicContentInfo contentInfo)
Specified by:
bindVariable in class AbstractRuleRefactor

fixImports

protected AssistantOption fixImports(RuleBasicContentInfo contentInfo)
Specified by:
fixImports in class AbstractRuleRefactor

renameVariable

protected AssistantOption renameVariable(RuleBasicContentInfo contentInfo)
Specified by:
renameVariable in class AbstractRuleRefactor


Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.