Interface IRefactoringController


  • public interface IRefactoringController
    Refactoring controller is used to get appropriate refactoring processor and trigger refactoring according to specified refactoring type.
    • Method Detail

      • initialize

        boolean initialize​(IRefactoringElementContext refactoringElementContext,
                           IRefactoringStrategy refactoringStrategy)
        Initialize refactoring controller with refactoring context
        Parameters:
        refactoringElementContext - refactoring context (not null)
        strategy - appropriate refactoring strategy (not null)
        Returns:
        true if refactoring initialized correctly, false otherwise
      • startRefactoring

        void startRefactoring​(RefactoringType refactoringType)
        Starts refactoring according to its type
        Parameters:
        refactoringType - type of refactoring