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 TgetValue()booleanisPresent()Tor(java.util.function.Supplier<T> defaultValueSupplier)
-