public enum BlockingCondition extends Enum<BlockingCondition>
Enum Constant and Description |
---|
STATE_NOT_PASSING
Block submission unless all required checks on the change is passing.
|
Modifier and Type | Method and Description |
---|---|
static Boolean |
isRequired(Set<BlockingCondition> blocking) |
static BlockingCondition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockingCondition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockingCondition STATE_NOT_PASSING
public static BlockingCondition[] values()
for (BlockingCondition c : BlockingCondition.values()) System.out.println(c);
public static BlockingCondition 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 Boolean isRequired(Set<BlockingCondition> blocking)
Copyright © 2018–2024. All rights reserved.