public static enum KetchReplica.CommitMethod extends Enum<KetchReplica.CommitMethod>
Enum Constant and Description |
---|
ALL_REFS
All references are pushed to the peer as standard Git.
|
TXN_COMMITTED
Only
refs/txn/committed is written/updated. |
Modifier and Type | Method and Description |
---|---|
static KetchReplica.CommitMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KetchReplica.CommitMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KetchReplica.CommitMethod ALL_REFS
public static final KetchReplica.CommitMethod TXN_COMMITTED
refs/txn/committed
is written/updated.public static KetchReplica.CommitMethod[] values()
for (KetchReplica.CommitMethod c : KetchReplica.CommitMethod.values()) System.out.println(c);
public static KetchReplica.CommitMethod 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 nullCopyright © 2017 Eclipse JGit Project. All rights reserved.