Class NumberParametersExtractor

All Implemented Interfaces:
ParametersSourceExtractor<NumberParameters,NumberParameters>

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

Target's minimum value will be the maximum of it's prior value and sources's value. Same way target's maximum value will be the minimum of it's prior value and sources's value.

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

    • NumberParametersExtractor

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

    • extractParameters

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