Option.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static enum | |
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| private final ConnectionFactoryOptions |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static OptionMapper | Returns: the option mapper.must not be options)null.Construct a new |
| public <T> OptionMapper. | |
| public <T> OptionMapper. | |
| pack-priv static boolean | |
| pack-priv static Duration | |
| pack-priv static <T extends Enum | |
| pack-priv static int |
| options | back to summary |
|---|---|
| private final ConnectionFactoryOptions options | |
| OptionMapper | back to summary |
|---|---|
| private OptionMapper(ConnectionFactoryOptions options) | |
| create | back to summary |
|---|---|
| public static OptionMapper create(ConnectionFactoryOptions options) Construct a new
| |
| from | back to summary |
|---|---|
| public <T> OptionMapper. Construct a new
| |
| fromExact | back to summary |
|---|---|
| public <T> OptionMapper. Construct a new
| |
| toBoolean | back to summary |
|---|---|
| pack-priv static boolean toBoolean(Object value) | |
| toDuration | back to summary |
|---|---|
| pack-priv static Duration toDuration(Object value) | |
| toEnum | back to summary |
|---|---|
pack-priv static <T extends Enum
| |
| toInteger | back to summary |
|---|---|
| pack-priv static int toInteger(Object value) Parse an | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public < the resulting type. R> OptionMapper. | Returns: a new mapped source instance.the mapping function to apply. mappingFunction)Implements io. |
| public void | to(Consumer<T>
the consumer that should accept the value. consumer)Implements io. |
| optionName | back to summary |
|---|---|
| private final String optionName | |
| supplier | back to summary |
|---|---|
| private final Supplier<T> supplier | |
| AvailableSource | back to summary |
|---|---|
| private AvailableSource(Supplier<T> supplier, String optionName) | |
| as | back to summary |
|---|---|
| public <R> OptionMapper. Implements io. Return an mapped version of the source changed via the given mapping function.
| |
| to | back to summary |
|---|---|
| public void to(Consumer<T> consumer) Implements io. Complete the mapping by passing any non-filtered value to the specified consumer. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final OptionMapper. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public <R> OptionMapper. | as(Function<Object, R>
the mapping function to apply mappingFunction)Implements io. |
| public static <T> OptionMapper. | |
| public void | to(Consumer<Object>
the consumer that should accept the value if it's not been
filtered consumer)Implements io. |
| public static OptionMapper. | |
| public static OptionMapper. |
| INSTANCE | back to summary |
|---|---|
| public static final OptionMapper. | |
| NullSource | back to summary |
|---|---|
| private NullSource() | |
| as | back to summary |
|---|---|
| public <R> OptionMapper. Implements io. Doc from io. Return an mapped version of the source changed via the given mapping function.
| |
| instance | back to summary |
|---|---|
| public static <T> OptionMapper. | |
| to | back to summary |
|---|---|
| public void to(Consumer<Object> consumer) Implements io. Doc from io. Complete the mapping by passing any non-filtered value to the specified consumer. | |
| valueOf | back to summary |
|---|---|
| public static OptionMapper. | |
| values | back to summary |
|---|---|
| public static OptionMapper. | |
| Modifier and Type | Method and Description |
|---|---|
| public < the resulting type R> OptionMapper. | |
| public void |
| as | back to summary |
|---|---|
| public <R> OptionMapper. Return an mapped version of the source changed via the given mapping function.
| |
| to | back to summary |
|---|---|
| public void to(Consumer<T> consumer) Complete the mapping by passing any non-filtered value to the specified consumer.
| |