public static enum ManualTriggerAction.Approval extends Enum<ManualTriggerAction.Approval>
Enum Constant and Description |
---|
CODE_REVIEW
A Code Review Approval type Code-Review.
|
VERIFIED
A Verified Approval type Verified.
|
Modifier and Type | Method and Description |
---|---|
ManualTriggerAction.HighLow |
getApprovals(net.sf.json.JSONObject res)
Deprecated.
|
ManualTriggerAction.HighLow |
getApprovals(net.sf.json.JSONObject res,
int patchSetNumber)
Finds the highest and lowest approval value of the approval's type for the specified change.
|
static ManualTriggerAction.Approval |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ManualTriggerAction.Approval[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ManualTriggerAction.Approval CODE_REVIEW
public static final ManualTriggerAction.Approval VERIFIED
public static ManualTriggerAction.Approval[] values()
for (ManualTriggerAction.Approval c : ManualTriggerAction.Approval.values()) System.out.println(c);
public static ManualTriggerAction.Approval 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 null@Deprecated public ManualTriggerAction.HighLow getApprovals(net.sf.json.JSONObject res)
res
- the change.public ManualTriggerAction.HighLow getApprovals(net.sf.json.JSONObject res, int patchSetNumber)
res
- the change.patchSetNumber
- the patch set number.Copyright © 2016–2020. All rights reserved.