|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ManualTriggerAction.Approval>
com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.actions.manual.ManualTriggerAction.Approval
public static enum ManualTriggerAction.Approval
Represents a "vote"-type or Approval of a change in the JSON structure.
Enum Constant Summary | |
---|---|
CODE_REVIEW
A Code Review Approval type CRVW. |
|
VERIFIED
A Verified Approval type VRIF. |
Method Summary | |
---|---|
ManualTriggerAction.HighLow |
getApprovals(net.sf.json.JSONObject res)
Finds the highest and lowest approval value of the approval's type for the specified change. |
static ManualTriggerAction.Approval |
valueOf(java.lang.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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ManualTriggerAction.Approval CODE_REVIEW
public static final ManualTriggerAction.Approval VERIFIED
Method Detail |
---|
public static ManualTriggerAction.Approval[] values()
for (ManualTriggerAction.Approval c : ManualTriggerAction.Approval.values()) System.out.println(c);
public static ManualTriggerAction.Approval 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 name
java.lang.NullPointerException
- if the argument is nullpublic ManualTriggerAction.HighLow getApprovals(net.sf.json.JSONObject res)
res
- the change.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |