public static enum SubmitRecord.Status extends java.lang.Enum<SubmitRecord.Status>
Enum Constant and Description |
---|
CLOSED
The change has been closed.
|
FORCED
The change was submitted bypassing submit rules.
|
NOT_READY
The change is missing a required label.
|
OK
The change is ready for submission.
|
RULE_ERROR
An internal server error occurred preventing computation.
|
Modifier and Type | Method and Description |
---|---|
static SubmitRecord.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SubmitRecord.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubmitRecord.Status OK
public static final SubmitRecord.Status NOT_READY
public static final SubmitRecord.Status CLOSED
public static final SubmitRecord.Status FORCED
public static final SubmitRecord.Status RULE_ERROR
Additional detail may be available in SubmitRecord.errorMessage
.
public static SubmitRecord.Status[] values()
for (SubmitRecord.Status c : SubmitRecord.Status.values()) System.out.println(c);
public static SubmitRecord.Status 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