Package org.sonar.api.server.ws
Interface Request.Param<T>
-
- All Known Subinterfaces:
Request.StringParam
- Enclosing class:
- Request
public static interface Request.Param<T>
Represents a Request parameter, provides information whether is was specified or not (checkisPresent()
) and utility method to nicely handles cases where the parameter is not present.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
getValue()
boolean
isPresent()
T
or(java.util.function.Supplier<T> defaultValueSupplier)
-