@Nonnull public static class BulkNonFixedRateConversionResult.BulkNonFixedRateConversionResultBuilder extends Object
Constructor and Description |
---|
BulkNonFixedRateConversionResultBuilder() |
Modifier and Type | Method and Description |
---|---|
BulkNonFixedRateConversionResult.BulkNonFixedRateConversionResultBuilder |
addFailureResultEntry(ConversionParametersForNonFixedRate conversionParametersForNonFixedRate,
Throwable throwable)
Adds the
Try of Throwable as a failed entry to the conversion result set map with the given
ConversionParametersForNonFixedRate . |
BulkNonFixedRateConversionResult.BulkNonFixedRateConversionResultBuilder |
addSuccessResultEntry(ConversionParametersForNonFixedRate conversionParametersForNonFixedRate,
SingleNonFixedRateConversionResult singleNonFixedRateConversionResult)
Adds the
Try of SingleNonFixedRateConversionResult as a success entry to the conversion
result set map with the given ConversionParametersForNonFixedRate . |
BulkNonFixedRateConversionResult |
build()
The build method for BulkNonFixedRateConversionResult.
|
public BulkNonFixedRateConversionResultBuilder()
@Nonnull public BulkNonFixedRateConversionResult.BulkNonFixedRateConversionResultBuilder addSuccessResultEntry(@Nonnull ConversionParametersForNonFixedRate conversionParametersForNonFixedRate, @Nonnull SingleNonFixedRateConversionResult singleNonFixedRateConversionResult)
Try
of SingleNonFixedRateConversionResult
as a success entry to the conversion
result set map with the given ConversionParametersForNonFixedRate
.conversionParametersForNonFixedRate
- ConversionParametersForNonFixedRate
: A list of conversion parameters for a non-fixed rate.
The list acts as the input for conversion and the same object is provided in the result
SingleNonFixedRateConversionResult
for correlation.singleNonFixedRateConversionResult
- The SingleNonFixedRateConversionResult
after a non-fixed rate conversion is performed.@Nonnull public BulkNonFixedRateConversionResult.BulkNonFixedRateConversionResultBuilder addFailureResultEntry(@Nonnull ConversionParametersForNonFixedRate conversionParametersForNonFixedRate, @Nonnull Throwable throwable)
Try
of Throwable
as a failed entry to the conversion result set map with the given
ConversionParametersForNonFixedRate
.conversionParametersForNonFixedRate
- ConversionParametersForNonFixedRate
: A list of conversion parameters for a non-fixed rate.
The list acts as the input for conversion and the same object is provided in the result
SingleNonFixedRateConversionResult
for correlation.throwable
- The exception that occurred while performing the conversion.@Nonnull public BulkNonFixedRateConversionResult build()
BulkNonFixedRateConversionResult
.Copyright © 2020 SAP SE. All rights reserved.