vertx / io.vertx.ext.healthchecks / Status / setOk

setOk

open fun setOk(ok: Boolean): Status

Sets whether or not the current status is positive (UP) or negative (DOWN).

Parameters

ok - true for UP, false for DOWN

Return
the current status