Package io.hyperfoil.api.processor
Class Processor.ActionBuilderAdapter
java.lang.Object
io.hyperfoil.api.processor.Processor.ActionBuilderAdapter
- All Implemented Interfaces:
BuilderBase<Processor.Builder>,Processor.Builder
- Enclosing interface:
- Processor
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.hyperfoil.api.config.BuilderBase
BuilderBase.CopyUtil, BuilderBase.IgnoreCopy, BuilderBase.ThrowingSupplier<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild(boolean fragmented) Some scenarios copy its parts from one place to another, either during parsing phase (e.g. through YAML anchors) or inBuilderBase.prepareBuild().Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.hyperfoil.api.config.BuilderBase
prepareBuild
-
Constructor Details
-
ActionBuilderAdapter
-
-
Method Details
-
copy
Description copied from interface:BuilderBaseSome scenarios copy its parts from one place to another, either during parsing phase (e.g. through YAML anchors) or inBuilderBase.prepareBuild(). In order to make sure that modification in one place does not accidentally change the original one we require defining a deep copy method on each builder. The only exception is when the builder is immutable (including potential children builder); in that case the deep copy is not necessary and this method can returnthis.The default implementation uses reflection to create a deep copy of all collections and maps, calling
copy()on all objects implementingBuilderBase.- Specified by:
copyin interfaceBuilderBase<Processor.Builder>- Parameters:
newParent- Object passed to a matching constructor.- Returns:
- Deep copy of this object.
-
build
- Specified by:
buildin interfaceProcessor.Builder
-