public static enum Version.Fork extends Enum<Version.Fork>
Version.CHECKIN_FORK and Version.CHECKOUT_FORK properties.| Enum Constant and Description |
|---|
DISCOURAGED
Forking is allowed only if specifically requested.
|
FORBIDDEN
Forking is not allowed.
|
OK
Forking is allowed without special options.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString()
Returns a string representation of this Fork suitable for diagnostics.
|
static Version.Fork |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Version.Fork[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Version.Fork DISCOURAGED
public static final Version.Fork FORBIDDEN
public static final Version.Fork OK
public String toString()
toString in class Enum<Version.Fork>public static Version.Fork 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 static Version.Fork[] values()
for (Version.Fork c : Version.Fork.values()) System.out.println(c);
Copyright © IBM 2018. All rights reserved.