public static enum CommitValidators.Policy extends java.lang.Enum<CommitValidators.Policy>
Enum Constant and Description |
---|
GERRIT
|
NONE
Do not validate commits.
|
RECEIVE_COMMITS
|
Modifier and Type | Method and Description |
---|---|
static CommitValidators.Policy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommitValidators.Policy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommitValidators.Policy GERRIT
public static final CommitValidators.Policy RECEIVE_COMMITS
public static final CommitValidators.Policy NONE
public static CommitValidators.Policy[] values()
for (CommitValidators.Policy c : CommitValidators.Policy.values()) System.out.println(c);
public static CommitValidators.Policy 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 null