Companion

The variables and the evaluation.

Properties

Link copied to clipboard

The twelve CI variables whose presence, with any value, refuses recording.

Link copied to clipboard

The variable that turns recording on: WEBTOOLS_HTTP_RECORD.

Functions

Link copied to clipboard
fun evaluate(env: Map<String, String> = System.getenv()): RecordingGate

Evaluates the gate against env, in this order: RECORD_VARIABLE absent or empty -> off; a CI variable present -> refused; 1, true or new (trimmed, ASCII case-insensitive) ->Enabled in RecordMode.New; all or overwrite ->Enabled in RecordMode.Overwrite; anything else -> off with the unrecognised-value reason.