Interface IRefactoringService
- All Known Implementing Classes:
RefactoringService
public interface IRefactoringService
The refactoring service.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioninitiateDelete
(Collection<RefactoringTask> tasks, RefactoringSettings settings) Initiates delete refactoring for the specifiedtasks
.initiateRename
(RefactoringTask task, IRefactoringOperation mainOperation, String newName, RefactoringSettings settings) Initiates rename refactoring for the specifiedtask
.
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
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
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.
-