Package dev.orne.test.rnd.params
Class KeyValueGenericParametersExtractor
java.lang.Object
dev.orne.test.rnd.params.AbstractParametersSourceExtractor<KeyValueGenericParameters,KeyValueGenericParameters>
dev.orne.test.rnd.params.KeyValueGenericParametersExtractor
- All Implemented Interfaces:
ParametersSourceExtractor<KeyValueGenericParameters,
KeyValueGenericParameters>
@API(status=EXPERIMENTAL,
since="0.1")
public class KeyValueGenericParametersExtractor
extends AbstractParametersSourceExtractor<KeyValueGenericParameters,KeyValueGenericParameters>
Generation parameters extractor that copies parameters
between
KeyValueGenericParameters
instances.- Since:
- 0.1
- Version:
- 1.0, 2022-12
- Author:
- (w) Iker Hernaez
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.orne.test.rnd.params.ParametersSourceExtractor
ParametersSourceExtractor.NopExtractor
-
Field Summary
Fields inherited from interface dev.orne.test.rnd.params.ParametersSourceExtractor
NOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
extractParameters
(@NotNull KeyValueGenericParameters from, @NotNull KeyValueGenericParameters target) Extracts the parameters from the specified source, modifying the generation parameters as required.Methods inherited from class dev.orne.test.rnd.params.AbstractParametersSourceExtractor
equals, getParametersType, getSourceType, hashCode, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface dev.orne.test.rnd.params.ParametersSourceExtractor
getPriority
-
Constructor Details
-
KeyValueGenericParametersExtractor
public KeyValueGenericParametersExtractor()Creates a new instance.
-
-
Method Details
-
extractParameters
public void extractParameters(@NotNull @NotNull KeyValueGenericParameters from, @NotNull @NotNull KeyValueGenericParameters target) Extracts the parameters from the specified source, modifying the generation parameters as required.- Parameters:
from
- The metadata sourcetarget
- The target generation parameters
-