Package org.eclipse.jgit.api
Enum Class RebaseResult.Status
- All Implemented Interfaces:
Serializable
,Comparable<RebaseResult.Status>
,Constable
- Enclosing class:
- RebaseResult
The overall status
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAborted; the original HEAD was restoredConflicts: checkout of target HEAD failedStopped for editing in the context of an interactive rebaseFailed; the original HEAD was restoredFast-forward, HEAD points to the new commitInteractive rebase has been preparedContinue with nothing left to commit (possibly want skip).Rebase was successful, HEAD points to the new commitApplying stash resulted in conflictsStopped due to a conflict; must either abort or resolve or skipThe repository contains uncommitted changes and the rebase is not a fast-forwardAlready up-to-date -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
static RebaseResult.Status
Returns the enum constant of this class with the specified name.static RebaseResult.Status[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OK
Rebase was successful, HEAD points to the new commit -
ABORTED
Aborted; the original HEAD was restored -
STOPPED
Stopped due to a conflict; must either abort or resolve or skip -
EDIT
Stopped for editing in the context of an interactive rebase- Since:
- 3.2
-
FAILED
Failed; the original HEAD was restored -
UNCOMMITTED_CHANGES
The repository contains uncommitted changes and the rebase is not a fast-forward- Since:
- 3.2
-
CONFLICTS
Conflicts: checkout of target HEAD failed -
UP_TO_DATE
Already up-to-date -
FAST_FORWARD
Fast-forward, HEAD points to the new commit -
NOTHING_TO_COMMIT
Continue with nothing left to commit (possibly want skip).- Since:
- 2.0
-
INTERACTIVE_PREPARED
Interactive rebase has been prepared- Since:
- 3.2
-
STASH_APPLY_CONFLICTS
Applying stash resulted in conflicts- Since:
- 3.2
-
-
Constructor Details
-
Status
private Status()
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
isSuccessful
public abstract boolean isSuccessful()- Returns:
- whether the status indicates a successful result
-