Package org.sonar.api.server.ws
Interface Request.StringParam
-
- All Superinterfaces:
Request.Param<java.lang.String>
- Enclosing class:
- Request
public static interface Request.StringParam extends Request.Param<java.lang.String>
ExtendsRequest.Paramwith convenience methods specific to the typeString.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Request.StringParamemptyAsNull()Returns aRequest.StringParamobject which methodsRequest.Param.getValue()andRequest.Param.or(Supplier)will returnnullrather than an empty String when the param is present and its value is an empty String.-
Methods inherited from interface org.sonar.api.server.ws.Request.Param
getValue, isPresent, or
-
-
-
-
Method Detail
-
emptyAsNull
Request.StringParam emptyAsNull()
Returns aRequest.StringParamobject which methodsRequest.Param.getValue()andRequest.Param.or(Supplier)will returnnullrather than an empty String when the param is present and its value is an empty String.
-
-