Class LabelDefinitionInputParser
java.lang.Object
com.google.gerrit.server.restapi.project.LabelDefinitionInputParser
- 
Method SummaryModifier 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
 
- 
parseDefaultValuepublic static short parseDefaultValue(LabelType.Builder labelType, short defaultValue) throws BadRequestException - Throws:
- BadRequestException
 
- 
parseBranchespublic static com.google.common.collect.ImmutableList<String> parseBranches(List<String> branches) throws BadRequestException - Throws:
- BadRequestException
 
 
-