com.ibm.xtools.umldt.rt.api.egit.merge

Interface RTEGitRebaseCommand.RebaseCompletionCallback

  • Enclosing interface:
    RTEGitRebaseCommand


    public static interface RTEGitRebaseCommand.RebaseCompletionCallback
    Defines interface for callback which is notified when merge operation is completed.
    Author:
    seroshki
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void operationCompleted(org.eclipse.jgit.lib.Repository repository, org.eclipse.jgit.api.RebaseCommand.Operation operation, org.eclipse.jgit.api.RebaseResult result, org.eclipse.core.runtime.IStatus jobStatus)
      This method is called when rebase operation is completed.
    • Method Detail

      • operationCompleted

        void operationCompleted(org.eclipse.jgit.lib.Repository repository,
                                org.eclipse.jgit.api.RebaseCommand.Operation operation,
                                org.eclipse.jgit.api.RebaseResult result,
                                org.eclipse.core.runtime.IStatus jobStatus)
        This method is called when rebase operation is completed. Client needs to analyze result to perform further actions.

        Normally if operation completed successfully and there are unresolved conflicts client should call merge tool to resolve conflicts.

        Client may also call showRebaseResultDialog(final Repository repository, final RebaseResult result) to show standard rebase result dialog.

        Parameters:
        repository - - Repository The repository where rebase has been performed.
        operation - - RebaseCommand.Operation Executed rebase operation.
        result - - RebaseResult Result of the executed rebase operation. It can be null if operation failed due to exceptions or cancelled by user
        jobStatus - - IStatus Status of rebase job if it failed due to exception or cancelled by user. Otherwise it will be OK_STATUS