Package io.openlineage.client
Class OpenLineage.SourceCodeLocationJobFacet
- java.lang.Object
-
- io.openlineage.client.OpenLineage.SourceCodeLocationJobFacet
-
- All Implemented Interfaces:
OpenLineage.JobFacet
- Enclosing class:
- OpenLineage
public static final class OpenLineage.SourceCodeLocationJobFacet extends java.lang.Object implements OpenLineage.JobFacet
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.URI
get_producer()
java.net.URI
get_schemaURL()
java.util.Map<java.lang.String,java.lang.Object>
getAdditionalProperties()
java.lang.String
getBranch()
java.lang.String
getPath()
java.lang.String
getRepoUrl()
java.lang.String
getTag()
java.lang.String
getType()
java.net.URI
getUrl()
java.lang.String
getVersion()
-
-
-
Method Detail
-
get_producer
public java.net.URI get_producer()
- Specified by:
get_producer
in interfaceOpenLineage.JobFacet
- Returns:
- URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha
-
get_schemaURL
public java.net.URI get_schemaURL()
- Specified by:
get_schemaURL
in interfaceOpenLineage.JobFacet
- Returns:
- The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet
-
getType
public java.lang.String getType()
- Returns:
- the source control system
-
getUrl
public java.net.URI getUrl()
- Returns:
- the full http URL to locate the file
-
getRepoUrl
public java.lang.String getRepoUrl()
- Returns:
- the URL to the repository
-
getPath
public java.lang.String getPath()
- Returns:
- the path in the repo containing the source files
-
getVersion
public java.lang.String getVersion()
- Returns:
- the current version deployed (not a branch name, the actual unique version)
-
getTag
public java.lang.String getTag()
- Returns:
- optional tag name
-
getBranch
public java.lang.String getBranch()
- Returns:
- optional branch name
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
- Specified by:
getAdditionalProperties
in interfaceOpenLineage.JobFacet
- Returns:
- additional properties
-
-