Class MagicLabelVote
- java.lang.Object
-
- com.google.gerrit.server.query.change.MagicLabelVote
-
public abstract class MagicLabelVote extends Object
An entity representing a special label vote that's not numeric, e.g. MAX, MIN, etc...
-
-
Constructor Summary
Constructors Constructor Description MagicLabelVote()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static MagicLabelVote
create(String label, MagicLabelValue value)
String
formatLabel()
abstract String
label()
static MagicLabelVote
parseWithEquals(String text)
abstract MagicLabelValue
value()
-
-
-
Method Detail
-
parseWithEquals
public static MagicLabelVote parseWithEquals(String text)
-
create
public static MagicLabelVote create(String label, MagicLabelValue value)
-
label
public abstract String label()
-
value
public abstract MagicLabelValue value()
-
formatLabel
public String formatLabel()
-
-