Class PerformRefactoringOperation

  • All Implemented Interfaces:
    IWorkspaceRunnable, ICoreRunnable

    public class PerformRefactoringOperation
    extends Object
    implements IWorkspaceRunnable
    Operation that, when run, executes a refactoring. This includes condition checking, change creation, change execution and remembering of the undo change on the refactoring's undo stack.

    The operation should be executed via the run method offered by IWorkspace to achieve proper delta batching.

    Note: this class is not intended to be extended by clients.

    Since:
    3.0
    See Also:
    IWorkspace
    Restriction:
    This class is not intended to be subclassed by clients.
    • Method Detail

      • getConditionStatus

        public RefactoringStatus getConditionStatus()
        Return the refactoring status of the condition checking.
        Returns:
        the refactoring status of the condition checking or null if the operation hasn't been performed yet
      • getValidationStatus

        public RefactoringStatus getValidationStatus()
        Returns the refactoring status of the change's validation checking or null if a change couldn't be created or the operation hasn't been performed yet.
        Returns:
        the refactoring status of the change's validation checking