Interface IRefactoringService
-
public interface IRefactoringService
The refactoring service.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IRefactoring
initiateDelete(Collection<RefactoringTask> tasks, RefactoringSettings settings)
Initiates delete refactoring for the specifiedtasks
.IRefactoring
initiateRename(RefactoringTask task, IRefactoringOperation mainOperation, String newName, RefactoringSettings settings)
Initiates rename refactoring for the specifiedtask
.
-
-
-
Method Detail
-
initiateRename
IRefactoring initiateRename(RefactoringTask task, IRefactoringOperation mainOperation, String newName, RefactoringSettings settings)
Initiates rename refactoring for the specifiedtask
.- Parameters:
task
- the refactoring task, cannot benull
.mainOperation
- the main operation of the rename refactoring, cannot benull
.newName
- the new name for the object presented in the task, cannot benull
.settings
- the refactoring settings, cannot benull
.- Returns:
- the
IRefactoring
instance ornull
if the refactoring is unable to perform.
-
initiateDelete
IRefactoring initiateDelete(Collection<RefactoringTask> tasks, RefactoringSettings settings)
Initiates delete refactoring for the specifiedtasks
.- Parameters:
tasks
- the refactoring tasks, cannot benull
or empty.settings
- the refactoring settings, cannot benull
.- Returns:
- the
IRefactoring
instance ornull
if the refactoring is unable to perform.
-
-