Package io.openlineage.client
Class OpenLineage.TestRunFacetBuilder
java.lang.Object
io.openlineage.client.OpenLineage.TestRunFacetBuilder
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.TestRunFacet>
- Enclosing class:
- OpenLineage
public final class OpenLineage.TestRunFacetBuilder
extends Object
implements OpenLineage.Builder<OpenLineage.TestRunFacet>
builder class for TestRunFacet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()build an instance of TestRunFacet from the fields set in the builderadd additional propertiestests(List<OpenLineage.TestExecution> tests)
-
Constructor Details
-
TestRunFacetBuilder
public TestRunFacetBuilder()
-
-
Method Details
-
tests
- Parameters:
tests- List of test executions and their results.- Returns:
- this
-
put
add additional properties- Parameters:
key- the additional property namevalue- the additional property value- Returns:
- this
-
build
build an instance of TestRunFacet from the fields set in the builder- Specified by:
buildin interfaceOpenLineage.Builder<OpenLineage.TestRunFacet>- Returns:
- the constructed type
-