public static enum ReplicationSpec.SCOPE extends Enum<ReplicationSpec.SCOPE>
Modifier and Type | Method and Description |
---|---|
static ReplicationSpec.SCOPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReplicationSpec.SCOPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplicationSpec.SCOPE NO_REPL
public static final ReplicationSpec.SCOPE MD_ONLY
public static final ReplicationSpec.SCOPE REPL
public static ReplicationSpec.SCOPE[] values()
for (ReplicationSpec.SCOPE c : ReplicationSpec.SCOPE.values()) System.out.println(c);
public static ReplicationSpec.SCOPE 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 The Apache Software Foundation. All rights reserved.