|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.model.AbstractDescribableImpl<VerdictCategory>
com.sonyericsson.hudson.plugins.gerrit.trigger.VerdictCategory
public class VerdictCategory
A verdict category for setting comments in Gerrit, i.e. code-review, verify
Nested Class Summary | |
---|---|
static class |
VerdictCategory.VerdictCategoryDescriptor
The Descriptor for a VerdictCategory. |
Constructor Summary | |
---|---|
VerdictCategory(String value,
String description)
Standard constructor. |
Method Summary | |
---|---|
static VerdictCategory |
createVerdictCategoryFromJSON(net.sf.json.JSONObject obj)
Creates a VerdictCategory from a JSONObject. |
String |
getVerdictDescription()
Standard getter for the description. |
String |
getVerdictValue()
Standard getter for the value. |
Methods inherited from class hudson.model.AbstractDescribableImpl |
---|
getDescriptor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VerdictCategory(String value, String description)
value
- the value in Gerrit for the verdict category.description
- the text describing the verdict category.Method Detail |
---|
public String getVerdictValue()
public String getVerdictDescription()
public static VerdictCategory createVerdictCategoryFromJSON(net.sf.json.JSONObject obj)
obj
- the JSONObject.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |