public static enum Branchrestriction.KindEnum extends java.lang.Enum<Branchrestriction.KindEnum>
| Enum Constant and Description |
|---|
DELETE |
ENFORCE_MERGE_CHECKS |
FORCE |
PUSH |
REQUIRE_ALL_DEPENDENCIES_MERGED |
REQUIRE_APPROVALS_TO_MERGE |
REQUIRE_PASSING_BUILDS_TO_MERGE |
REQUIRE_TASKS_TO_BE_COMPLETED |
RESET_PULLREQUEST_APPROVALS_ON_CHANGE |
RESTRICT_MERGES |
| Modifier and Type | Method and Description |
|---|---|
static Branchrestriction.KindEnum |
fromValue(java.lang.String v) |
java.lang.String |
toString() |
java.lang.String |
value() |
static Branchrestriction.KindEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Branchrestriction.KindEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Branchrestriction.KindEnum REQUIRE_TASKS_TO_BE_COMPLETED
public static final Branchrestriction.KindEnum REQUIRE_PASSING_BUILDS_TO_MERGE
public static final Branchrestriction.KindEnum FORCE
public static final Branchrestriction.KindEnum REQUIRE_ALL_DEPENDENCIES_MERGED
public static final Branchrestriction.KindEnum PUSH
public static final Branchrestriction.KindEnum REQUIRE_APPROVALS_TO_MERGE
public static final Branchrestriction.KindEnum ENFORCE_MERGE_CHECKS
public static final Branchrestriction.KindEnum RESTRICT_MERGES
public static final Branchrestriction.KindEnum RESET_PULLREQUEST_APPROVALS_ON_CHANGE
public static final Branchrestriction.KindEnum DELETE
public static Branchrestriction.KindEnum[] values()
for (Branchrestriction.KindEnum c : Branchrestriction.KindEnum.values()) System.out.println(c);
public static Branchrestriction.KindEnum 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 namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String value()
public java.lang.String toString()
toString in class java.lang.Enum<Branchrestriction.KindEnum>public static Branchrestriction.KindEnum fromValue(java.lang.String v)