Class EitherConfigExtractor<A,B>
java.lang.Object
ru.tinkoff.kora.config.common.extractor.EitherConfigExtractor<A,B>
- All Implemented Interfaces:
ru.tinkoff.kora.common.Mapping.MappingFunction,ConfigValueExtractor<ru.tinkoff.kora.common.util.Either<A,B>>
public class EitherConfigExtractor<A,B>
extends Object
implements ConfigValueExtractor<ru.tinkoff.kora.common.util.Either<A,B>>
-
Constructor Summary
ConstructorsConstructorDescriptionEitherConfigExtractor(ConfigValueExtractor<A> leftExtractor, ConfigValueExtractor<B> rightExtractor) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ru.tinkoff.kora.config.common.extractor.ConfigValueExtractor
map
-
Constructor Details
-
EitherConfigExtractor
public EitherConfigExtractor(ConfigValueExtractor<A> leftExtractor, ConfigValueExtractor<B> rightExtractor)
-
-
Method Details
-
extract
- Specified by:
extractin interfaceConfigValueExtractor<A>
-