Enum Class RebaseResult.Status

java.lang.Object
java.lang.Enum<RebaseResult.Status>
org.eclipse.jgit.api.RebaseResult.Status
All Implemented Interfaces:
Serializable, Comparable<RebaseResult.Status>, Constable
Enclosing class:
RebaseResult

public static enum RebaseResult.Status extends Enum<RebaseResult.Status>
The overall status
  • Enum Constant Details

    • OK

      public static final RebaseResult.Status OK
      Rebase was successful, HEAD points to the new commit
    • ABORTED

      public static final RebaseResult.Status ABORTED
      Aborted; the original HEAD was restored
    • STOPPED

      public static final RebaseResult.Status STOPPED
      Stopped due to a conflict; must either abort or resolve or skip
    • EDIT

      public static final RebaseResult.Status EDIT
      Stopped for editing in the context of an interactive rebase
      Since:
      3.2
    • FAILED

      public static final RebaseResult.Status FAILED
      Failed; the original HEAD was restored
    • UNCOMMITTED_CHANGES

      public static final RebaseResult.Status UNCOMMITTED_CHANGES
      The repository contains uncommitted changes and the rebase is not a fast-forward
      Since:
      3.2
    • CONFLICTS

      public static final RebaseResult.Status CONFLICTS
      Conflicts: checkout of target HEAD failed
    • UP_TO_DATE

      public static final RebaseResult.Status UP_TO_DATE
      Already up-to-date
    • FAST_FORWARD

      public static final RebaseResult.Status FAST_FORWARD
      Fast-forward, HEAD points to the new commit
    • NOTHING_TO_COMMIT

      public static final RebaseResult.Status NOTHING_TO_COMMIT
      Continue with nothing left to commit (possibly want skip).
      Since:
      2.0
    • INTERACTIVE_PREPARED

      public static final RebaseResult.Status INTERACTIVE_PREPARED
      Interactive rebase has been prepared
      Since:
      3.2
    • STASH_APPLY_CONFLICTS

      public static final RebaseResult.Status STASH_APPLY_CONFLICTS
      Applying stash resulted in conflicts
      Since:
      3.2
  • Constructor Details

    • Status

      private Status()
  • Method Details

    • values

      public static RebaseResult.Status[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RebaseResult.Status valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • isSuccessful

      public abstract boolean isSuccessful()
      Returns:
      whether the status indicates a successful result