Class LabelDefinitionInputParser
java.lang.Object
com.google.gerrit.server.restapi.project.LabelDefinitionInputParser
- 
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.common.collect.ImmutableList<String>parseBranches(List<String> branches) static shortparseDefaultValue(LabelType.Builder labelType, short defaultValue) static LabelFunctionparseFunction(String functionString) static List<LabelValue>parseValues(Map<String, String> values)  
- 
Method Details
- 
parseFunction
- Throws:
 BadRequestException
 - 
parseValues
- Throws:
 BadRequestException
 - 
parseDefaultValue
public static short parseDefaultValue(LabelType.Builder labelType, short defaultValue) throws BadRequestException - Throws:
 BadRequestException
 - 
parseBranches
public static com.google.common.collect.ImmutableList<String> parseBranches(List<String> branches) throws BadRequestException - Throws:
 BadRequestException
 
 -