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.Param
with convenience methods specific to the typeString
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Request.StringParam
emptyAsNull()
Returns aRequest.StringParam
object which methodsRequest.Param.getValue()
andRequest.Param.or(Supplier)
will returnnull
rather 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.StringParam
object which methodsRequest.Param.getValue()
andRequest.Param.or(Supplier)
will returnnull
rather than an empty String when the param is present and its value is an empty String.
-
-