Class PredicateArgs
- java.lang.Object
-
- com.google.gerrit.server.query.change.PredicateArgs
-
public class PredicateArgs extends Object
This class is used to extract comma separated values in a predicate.If tags for the values are present (e.g. "branch=jb_2.3,vote=approved") then the args are placed in a map that maps tag to value (e.g., "branch" to "jb_2.3"). If no tag is present (e.g. "jb_2.3,approved") then the args are placed into a positional list. Args may be mixed so some may appear in the map and others in the positional list (e.g. "vote=approved,jb_2.3).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PredicateArgs.ValOp
-
Field Summary
Fields Modifier and Type Field Description Map<String,PredicateArgs.ValOp>
keyValue
List<String>
positional
-
-
-
Field Detail
-
keyValue
public Map<String,PredicateArgs.ValOp> keyValue
-
-