check

fun check(environment: ConfigurableEnvironment)

Refuses the startup when environment has a key or a variable refused lists, each kind under its own heading with what to do: of an unknown key, the module that declares it when that module is not on the class path; of an unknown variable under a map, how a variable writes a map's entry; of a key under an entry given an empty value, the entry and the source that empties it, and whether to remove that value or, where no variable writes the entry's name, keep the entry with a key of its own (#7656); a key of an earlier version is unknown as any other, the message pointing at the migration guide. It never prints a value; the values it reads besides binding, of keys nothing reads, it reads only to see whether they are empty (isEmptyGroup, rootValues). The variables of Kubernetes' Services it leaves alone are logged once.