|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<RemoteRefUpdate.Status>
org.eclipse.jgit.transport.RemoteRefUpdate.Status
public static enum RemoteRefUpdate.Status
Represent current status of a remote ref update.
| Enum Constant Summary | |
|---|---|
AWAITING_REPORT
Push process is awaiting update report from remote repository. |
|
NON_EXISTING
Remote ref didn't exist. |
|
NOT_ATTEMPTED
Push process hasn't yet attempted to update this ref. |
|
OK
Remote ref was successfully updated. |
|
REJECTED_NODELETE
Remote ref update was rejected, because remote side doesn't support/allow deleting refs. |
|
REJECTED_NONFASTFORWARD
Remote ref update was rejected, as it would cause non fast-forward update. |
|
REJECTED_OTHER_REASON
Remote ref update was rejected for other reason, possibly described in RemoteRefUpdate.getMessage(). |
|
REJECTED_REMOTE_CHANGED
Remote ref update was rejected, because old object id on remote repository wasn't the same as defined expected old object. |
|
UP_TO_DATE
Remote ref was up to date, there was no need to update anything. |
|
| Method Summary | |
|---|---|
static RemoteRefUpdate.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static RemoteRefUpdate.Status[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final RemoteRefUpdate.Status NOT_ATTEMPTED
public static final RemoteRefUpdate.Status UP_TO_DATE
public static final RemoteRefUpdate.Status REJECTED_NONFASTFORWARD
public static final RemoteRefUpdate.Status REJECTED_NODELETE
public static final RemoteRefUpdate.Status REJECTED_REMOTE_CHANGED
public static final RemoteRefUpdate.Status REJECTED_OTHER_REASON
RemoteRefUpdate.getMessage().
public static final RemoteRefUpdate.Status NON_EXISTING
public static final RemoteRefUpdate.Status AWAITING_REPORT
public static final RemoteRefUpdate.Status OK
| Method Detail |
|---|
public static RemoteRefUpdate.Status[] values()
for (RemoteRefUpdate.Status c : RemoteRefUpdate.Status.values()) System.out.println(c);
public static RemoteRefUpdate.Status valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||