Package io.openlineage.client
Class OpenLineage.SourceCodeLocationJobFacetBuilder
java.lang.Object
io.openlineage.client.OpenLineage.SourceCodeLocationJobFacetBuilder
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.SourceCodeLocationJobFacet>
- Enclosing class:
- OpenLineage
public final class OpenLineage.SourceCodeLocationJobFacetBuilder
extends Object
implements OpenLineage.Builder<OpenLineage.SourceCodeLocationJobFacet>
builder class for SourceCodeLocationJobFacet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
build an instance of SourceCodeLocationJobFacet from the fields set in the builderadd additional properties
-
Constructor Details
-
SourceCodeLocationJobFacetBuilder
public SourceCodeLocationJobFacetBuilder()
-
-
Method Details
-
type
- Parameters:
type
- the source control system- Returns:
- this
-
url
- Parameters:
url
- the full http URL to locate the file- Returns:
- this
-
repoUrl
- Parameters:
repoUrl
- the URL to the repository- Returns:
- this
-
path
- Parameters:
path
- the path in the repo containing the source files- Returns:
- this
-
version
- Parameters:
version
- the current version deployed (not a branch name, the actual unique version)- Returns:
- this
-
tag
- Parameters:
tag
- optional tag name- Returns:
- this
-
branch
- Parameters:
branch
- optional branch name- Returns:
- this
-
put
add additional properties- Parameters:
key
- the additional property namevalue
- the additional property value- Returns:
- this
-
build
build an instance of SourceCodeLocationJobFacet from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.SourceCodeLocationJobFacet>
- Returns:
- the constructed type
-