Representation the desire to read A
from some as-of-yet-unspecified config.
- Companion:
- object
Value members
Abstract methods
When a Report is generated, the config values used by this will be obfuscated.
When a Report is generated, the config values used by this will be obfuscated.
Requires at least one key to be externally specified, else None
is returned.
Requires at least one key to be externally specified, else None
is returned.
If some keys are available and some required others are not, then it is a failure.
If enough config is specified to construct an instance, it is provided wrapped in Some(_)
,
else None
is returned.
If enough config is specified to construct an instance, it is provided wrapped in Some(_)
,
else None
is returned.
Unlike option / whenAtLeastOneKeySpecified, this never fails.
Generate a report based on the usage so far. This should be at the very end of your Config composition, else the unused-keys portion of the report may be inaccurate.
Generate a report based on the usage so far. This should be at the very end of your Config composition, else the unused-keys portion of the report may be inaccurate.
Concrete methods
Use this method very sparingly as it prevents clarity and config discoverability by introducing configuration keys that only appear in certain conditions.
Use this method very sparingly as it prevents clarity and config discoverability by introducing configuration keys that only appear in certain conditions.
Opens up a new bunch of config opens when some other option config value is defined.
Opens up a new bunch of config opens when some other option config value is defined.
It's recommended not to use this function in most cases because it hides the optional config from reports when it's not enabled. Where as when a user decides to enable the feature they often want to know what the additional, potentially-mandatory options are. This function makes that an unclear, two-step process.
Deprecated methods
Requires at least one key to be externally specified, else None
is returned.
Requires at least one key to be externally specified, else None
is returned.
If some keys are available and some required others are not, then it is a failure.
- Deprecated