Class VerdictCategory

    • Constructor Detail

      • VerdictCategory

        @DataBoundConstructor
        public VerdictCategory​(String verdictValue,
                               String verdictDescription)
        Standard constructor.
        Parameters:
        verdictValue - the value in Gerrit for the verdict category.
        verdictDescription - the text describing the verdict category.
    • Method Detail

      • getVerdictValue

        public String getVerdictValue()
        Standard getter for the value.
        Returns:
        the value.
      • getVerdictDescription

        public String getVerdictDescription()
        Standard getter for the description.
        Returns:
        the description.
      • createVerdictCategoryFromJSON

        public static VerdictCategory createVerdictCategoryFromJSON​(net.sf.json.JSONObject obj)
        Creates a VerdictCategory from a JSONObject.
        Parameters:
        obj - the JSONObject.
        Returns:
        a VerdictCategory.