Class NullableParametersExtractor

All Implemented Interfaces:
ParametersSourceExtractor<NullableParameters,NullableParameters>

@API(status=EXPERIMENTAL, since="0.1") public class NullableParametersExtractor extends AbstractParametersSourceExtractor<NullableParameters,NullableParameters>
Generation parameters extractor that copies parameters between GenerationParameters instances.

As boolean is a primitive type target's nullable value will be true if both it's prior value and sources's value are true.

Since:
0.1
Version:
1.0, 2022-12
Author:
(w) Iker Hernaez
See Also:
  • Constructor Details

    • NullableParametersExtractor

      public NullableParametersExtractor()
      Creates a new instance.
  • Method Details

    • extractParameters

      public void extractParameters(@NotNull @NotNull NullableParameters from, @NotNull @NotNull NullableParameters target)
      Extracts the parameters from the specified source, modifying the generation parameters as required.
      Parameters:
      from - The metadata source
      target - The target generation parameters