register

fun register(parserClass: Class<out ConfigParser>, strategy: UpdateStrategy)

Registers an UpdateStrategy for the given parser class. If a strategy is already registered for this parser class, this method does nothing.

Parameters

parserClass

the parser class to associate with the strategy

strategy

the update strategy implementation