public static enum KetchReplica.Participation extends Enum<KetchReplica.Participation>
| Enum Constant and Description | 
|---|
FOLLOWER_ONLY
Replica does not vote, but tracks leader. 
 | 
FULL
Replica can vote. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static KetchReplica.Participation | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static KetchReplica.Participation[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final KetchReplica.Participation FULL
public static final KetchReplica.Participation FOLLOWER_ONLY
public static KetchReplica.Participation[] values()
for (KetchReplica.Participation c : KetchReplica.Participation.values()) System.out.println(c);
public static KetchReplica.Participation 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 © 2018 Eclipse JGit Project. All rights reserved.