Level

object Level

Class with static variables with information about CheckIndex's -level parameter.

Properties

Link copied to clipboard
const val DEFAULT_VALUE: Int

The default level if none is specified.

Link copied to clipboard
const val MAX_VALUE: Int = 3

Maximum valid level.

Link copied to clipboard

Minimum level required to run checksum checks.

Link copied to clipboard

Minimum level required to run integrity checks.

Link copied to clipboard

Minimum level required to run slow checks.

Link copied to clipboard
const val MIN_VALUE: Int = 1

Minimum valid level.

Functions

Link copied to clipboard
fun checkIfLevelInBounds(levelVal: Int)

Checks if given level value is within the allowed bounds else it raises an Exception.