@Deprecated public class YamlTesterParametersBuilder<T> extends Object
| Constructor and Description |
|---|
YamlTesterParametersBuilder(net.openhft.chronicle.core.util.ThrowingFunction<T,Object,Throwable> builder,
Class<T> outClass,
List<String> paths)
Deprecated.
Constructor that initializes the builder with a given component builder, output class, and list of paths.
|
YamlTesterParametersBuilder(net.openhft.chronicle.core.util.ThrowingFunction<T,Object,Throwable> builder,
Class<T> outClass,
String paths)
Deprecated.
Constructor that initializes the builder with a given component builder, output class, and paths specified as a comma-separated string.
|
| Modifier and Type | Method and Description |
|---|---|
YamlTesterParametersBuilder<T> |
addOutputClass(Class<?> outputClass)
Deprecated.
Adds a class to the set of additional output classes.
|
YamlTesterParametersBuilder<T> |
agitators(YamlAgitator... agitators)
Deprecated.
Sets the agitators used for modifying test parameters.
|
YamlTesterParametersBuilder<T> |
exceptionHandlerFunction(Function<T,net.openhft.chronicle.core.onoes.ExceptionHandler> exceptionHandlerFunction)
Deprecated.
Specifies a custom exception handler function for the test.
|
boolean |
exceptionHandlerFunctionAndLog()
Deprecated.
Returns the state of the exceptionHandlerFunctionAndLog flag.
|
YamlTesterParametersBuilder<T> |
exceptionHandlerFunctionAndLog(boolean exceptionHandlerFunctionAndLog)
Deprecated.
Sets the state of the exceptionHandlerFunctionAndLog flag.
|
List<Object[]> |
get()
Deprecated.
Constructs and returns a list of test parameters based on YAML configurations.
|
YamlTesterParametersBuilder<T> |
inputFunction(Function<String,String> inputFunction)
Deprecated.
Sets the input function that transforms input strings.
|
Predicate<String> |
testFilter()
Deprecated.
Returns the current test filter predicate.
|
YamlTesterParametersBuilder<T> |
testFilter(Predicate<String> testFilter)
Deprecated.
Sets a new test filter predicate.
|
public YamlTesterParametersBuilder(net.openhft.chronicle.core.util.ThrowingFunction<T,Object,Throwable> builder, Class<T> outClass, String paths)
builder - A function responsible for constructing the test component.outClass - Expected output type for the test.paths - Comma-separated string indicating locations of YAML files.public YamlTesterParametersBuilder(net.openhft.chronicle.core.util.ThrowingFunction<T,Object,Throwable> builder, Class<T> outClass, List<String> paths)
builder - A function responsible for constructing the test component.outClass - Expected output type for the test.paths - List indicating locations of YAML files.public YamlTesterParametersBuilder<T> agitators(YamlAgitator... agitators)
agitators - Array of YamlAgitator objects.public YamlTesterParametersBuilder<T> exceptionHandlerFunction(Function<T,net.openhft.chronicle.core.onoes.ExceptionHandler> exceptionHandlerFunction)
exceptionHandlerFunction - A function providing custom exception handling.public List<Object[]> get()
public YamlTesterParametersBuilder<T> addOutputClass(Class<?> outputClass)
outputClass - The class to be added.public boolean exceptionHandlerFunctionAndLog()
public YamlTesterParametersBuilder<T> exceptionHandlerFunctionAndLog(boolean exceptionHandlerFunctionAndLog)
exceptionHandlerFunctionAndLog - The new state of the flag.public Predicate<String> testFilter()
public YamlTesterParametersBuilder<T> testFilter(Predicate<String> testFilter)
testFilter - The new test filter predicate.public YamlTesterParametersBuilder<T> inputFunction(Function<String,String> inputFunction)
inputFunction - The function to set.Copyright © 2024. All rights reserved.