ConfigurableContract

Used as a contractual agreement between TorConfig.BuilderScope and TorOption such that factory-like functionality can be had via function calls TorConfig.BuilderScope.configure and TorConfig.BuilderScope.tryConfigure for the TorOption.

This is the "root" interface that all Configurable* interface types extend. No TorOption implements this interface directly.

All TorOption that implement a ConfigurableContract type have an accompanying static function asSetting to create its TorSetting, outside of the TorConfig.BuilderScope, if needed.

See also

Inheritors