Interface ParametersExtractor<P>

Type Parameters:
P - The target generation parameters type
All Known Implementing Classes:
DefaultParametersExtractor

@API(status=EXPERIMENTAL, since="0.1") public interface ParametersExtractor<P>
Interface for generation parameters extractor.
Since:
0.1
Version:
1.0, 2022-11
Author:
(w) Iker Hernaez
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    extractParameters(P params, @NotNull Object... sources)
    Extract the generation parameters from the specified sources.
    void
    extractParameters(P params, Collection<?> sources)
    Extract the generation parameters from the specified sources.
  • Method Details

    • extractParameters

      void extractParameters(@NotNull P params, @NotNull @NotNull Object... sources)
      Extract the generation parameters from the specified sources.
      Parameters:
      params - The generation parameters
      sources - The parameter sources to apply
    • extractParameters

      void extractParameters(@NotNull P params, Collection<?> sources)
      Extract the generation parameters from the specified sources.
      Parameters:
      params - The generation parameters
      sources - The parameter sources to apply