public static enum MergeResult.MergeStatus extends Enum<MergeResult.MergeStatus>
Enum Constant and Description |
---|
ABORTED |
ALREADY_UP_TO_DATE |
CHECKOUT_CONFLICT
Status representing a checkout conflict, meaning that nothing could
be merged, as the pre-scan for the trees already failed for certain
files (i.e.
|
CONFLICTING |
FAILED |
FAST_FORWARD |
FAST_FORWARD_SQUASHED |
MERGED |
MERGED_NOT_COMMITTED |
MERGED_SQUASHED |
MERGED_SQUASHED_NOT_COMMITTED |
NOT_SUPPORTED |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
isSuccessful() |
static MergeResult.MergeStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MergeResult.MergeStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MergeResult.MergeStatus FAST_FORWARD
public static final MergeResult.MergeStatus FAST_FORWARD_SQUASHED
public static final MergeResult.MergeStatus ALREADY_UP_TO_DATE
public static final MergeResult.MergeStatus FAILED
public static final MergeResult.MergeStatus MERGED
public static final MergeResult.MergeStatus MERGED_SQUASHED
public static final MergeResult.MergeStatus MERGED_SQUASHED_NOT_COMMITTED
public static final MergeResult.MergeStatus CONFLICTING
public static final MergeResult.MergeStatus ABORTED
public static final MergeResult.MergeStatus MERGED_NOT_COMMITTED
public static final MergeResult.MergeStatus NOT_SUPPORTED
public static final MergeResult.MergeStatus CHECKOUT_CONFLICT
public static MergeResult.MergeStatus[] values()
for (MergeResult.MergeStatus c : MergeResult.MergeStatus.values()) System.out.println(c);
public static MergeResult.MergeStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract boolean isSuccessful()
Copyright © 2019 Eclipse JGit Project. All rights reserved.