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 MagicLabelVotecreate(String label, MagicLabelValue value)StringformatLabel()abstract Stringlabel()static MagicLabelVoteparseWithEquals(String text)abstract MagicLabelValuevalue()
-
-
-
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()
-
-