DynamicTypeBindingRequest


abstract class DynamicTypeBindingRequest


Holds the parameters needed by bind. It can be used as follows:

DynamicTypeBindingRequest request = DynamicTypeBindingRequest.forDynamicInt32(source,consumer);
BoundDynamicType boundType = evaluator.bind(request);

Summary

Public functions

java-static DynamicTypeBindingRequest
forDynamicBool(
    boolSource: DynamicBuilders.DynamicBool,
    executor: Executor,
    consumer: DynamicTypeValueReceiver<Boolean!>
)

Creates a DynamicTypeBindingRequest from the given for binding.

java-static DynamicTypeBindingRequest
forDynamicColor(
    colorSource: DynamicBuilders.DynamicColor,
    executor: Executor,
    consumer: DynamicTypeValueReceiver<Int!>
)

Creates a DynamicTypeBindingRequest from the given for binding.

java-static DynamicTypeBindingRequest
forDynamicDuration(
    durationSource: DynamicBuilders.DynamicDuration,
    executor: Executor,
    consumer: DynamicTypeValueReceiver<Duration!>
)

Creates a DynamicTypeBindingRequest from the given for binding.

java-static DynamicTypeBindingRequest
forDynamicFloat(
    floatSource: DynamicBuilders.DynamicFloat,
    executor: Executor,
    consumer: DynamicTypeValueReceiver<Float!>
)

Creates a DynamicTypeBindingRequest from the given for binding.

java-static DynamicTypeBindingRequest
forDynamicInstant(
    instantSource: DynamicBuilders.DynamicInstant,
    executor: Executor,
    consumer: DynamicTypeValueReceiver<Instant!>
)

Creates a DynamicTypeBindingRequest from the given for binding.

java-static DynamicTypeBindingRequest
forDynamicInt32(
    int32Source: DynamicBuilders.DynamicInt32,
    executor: Executor,
    consumer: DynamicTypeValueReceiver<Int!>
)

Creates a DynamicTypeBindingRequest from the given for binding.

java-static DynamicTypeBindingRequest
forDynamicString(
    stringSource: DynamicBuilders.DynamicString,
    locale: ULocale,
    executor: Executor,
    consumer: DynamicTypeValueReceiver<String!>
)

Creates a DynamicTypeBindingRequest from the given for binding.

Public functions

forDynamicBool

Added in 1.0.0
java-static fun forDynamicBool(
    boolSource: DynamicBuilders.DynamicBool,
    executor: Executor,
    consumer: DynamicTypeValueReceiver<Boolean!>
): DynamicTypeBindingRequest

Creates a DynamicTypeBindingRequest from the given for binding.

Results of evaluation will be sent through the given DynamicTypeValueReceiver on the given Executor.

Parameters
boolSource: DynamicBuilders.DynamicBool

The given boolean dynamic type that should be evaluated.

executor: Executor

The Executor to run the consumer on.

consumer: DynamicTypeValueReceiver<Boolean!>

The registered consumer for results of the evaluation.

forDynamicColor

Added in 1.0.0
java-static fun forDynamicColor(
    colorSource: DynamicBuilders.DynamicColor,
    executor: Executor,
    consumer: DynamicTypeValueReceiver<Int!>
): DynamicTypeBindingRequest

Creates a DynamicTypeBindingRequest from the given for binding.

Results of evaluation will be sent through the given DynamicTypeValueReceiver on the given Executor.

Parameters
colorSource: DynamicBuilders.DynamicColor

The given color dynamic type that should be evaluated.

executor: Executor

The Executor to run the consumer on.

consumer: DynamicTypeValueReceiver<Int!>

The registered consumer for results of the evaluation.

forDynamicDuration

Added in 1.0.0
java-static fun forDynamicDuration(
    durationSource: DynamicBuilders.DynamicDuration,
    executor: Executor,
    consumer: DynamicTypeValueReceiver<Duration!>
): DynamicTypeBindingRequest

Creates a DynamicTypeBindingRequest from the given for binding.

Results of evaluation will be sent through the given DynamicTypeValueReceiver on the given Executor.

Parameters
durationSource: DynamicBuilders.DynamicDuration

The given duration dynamic type that should be evaluated.

executor: Executor

The Executor to run the consumer on.

consumer: DynamicTypeValueReceiver<Duration!>

The registered consumer for results of the evaluation.

forDynamicFloat

Added in 1.0.0
java-static fun forDynamicFloat(
    floatSource: DynamicBuilders.DynamicFloat,
    executor: Executor,
    consumer: DynamicTypeValueReceiver<Float!>
): DynamicTypeBindingRequest

Creates a DynamicTypeBindingRequest from the given for binding.

Results of evaluation will be sent through the given DynamicTypeValueReceiver on the given Executor.

Parameters
floatSource: DynamicBuilders.DynamicFloat

The given float dynamic type that should be evaluated.

executor: Executor

The Executor to run the consumer on.

consumer: DynamicTypeValueReceiver<Float!>

The registered consumer for results of the evaluation.

forDynamicInstant

Added in 1.0.0
java-static fun forDynamicInstant(
    instantSource: DynamicBuilders.DynamicInstant,
    executor: Executor,
    consumer: DynamicTypeValueReceiver<Instant!>
): DynamicTypeBindingRequest

Creates a DynamicTypeBindingRequest from the given for binding.

Results of evaluation will be sent through the given DynamicTypeValueReceiver on the given Executor.

Parameters
instantSource: DynamicBuilders.DynamicInstant

The given instant dynamic type that should be evaluated.

executor: Executor

The Executor to run the consumer on.

consumer: DynamicTypeValueReceiver<Instant!>

The registered consumer for results of the evaluation.

forDynamicInt32

Added in 1.0.0
java-static fun forDynamicInt32(
    int32Source: DynamicBuilders.DynamicInt32,
    executor: Executor,
    consumer: DynamicTypeValueReceiver<Int!>
): DynamicTypeBindingRequest

Creates a DynamicTypeBindingRequest from the given for binding.

Results of evaluation will be sent through the given DynamicTypeValueReceiver on the given Executor.

Parameters
int32Source: DynamicBuilders.DynamicInt32

The given integer dynamic type that should be evaluated.

executor: Executor

The Executor to run the consumer on.

consumer: DynamicTypeValueReceiver<Int!>

The registered consumer for results of the evaluation.

forDynamicString

Added in 1.0.0
java-static fun forDynamicString(
    stringSource: DynamicBuilders.DynamicString,
    locale: ULocale,
    executor: Executor,
    consumer: DynamicTypeValueReceiver<String!>
): DynamicTypeBindingRequest

Creates a DynamicTypeBindingRequest from the given for binding.

Results of evaluation will be sent through the given DynamicTypeValueReceiver on the given Executor.

Parameters
stringSource: DynamicBuilders.DynamicString

The given String dynamic type that should be evaluated.

locale: ULocale

The locale used for the given String source.

executor: Executor

The Executor to run the consumer on.

consumer: DynamicTypeValueReceiver<String!>

The registered consumer for results of the evaluation.