Package com.google.gerrit.server.util
Class LabelVote
- java.lang.Object
-
- com.google.gerrit.server.util.LabelVote
-
public abstract class LabelVote extends Object
A single vote on a label, consisting of a label name and a value.
-
-
Constructor Summary
Constructors Constructor Description LabelVote()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static StringBuilderappendTo(StringBuilder sb, String label, short value)static LabelVotecreate(String label, short value)Stringformat()StringformatWithEquals()abstract Stringlabel()static LabelVoteparse(String text)static LabelVoteparseWithEquals(String text)StringtoString()abstract shortvalue()
-
-
-
Method Detail
-
appendTo
public static StringBuilder appendTo(StringBuilder sb, String label, short value)
-
label
public abstract String label()
-
value
public abstract short value()
-
format
public String format()
-
formatWithEquals
public String formatWithEquals()
-
-