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 Object implements OpenLineage.JobFacet
model class for SourceCodeLocationJobFacet
  • Method Details

    • get_producer

      public URI get_producer()
      Specified by:
      get_producer in interface OpenLineage.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 URI get_schemaURL()
      Specified by:
      get_schemaURL in interface OpenLineage.JobFacet
      Returns:
      The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet
    • get_deleted

      public Boolean get_deleted()
      Specified by:
      get_deleted in interface OpenLineage.JobFacet
      Returns:
      set to true to delete a facet
    • getType

      public String getType()
      Returns:
      the source control system
    • getUrl

      public URI getUrl()
      Returns:
      the full http URL to locate the file
    • getRepoUrl

      public String getRepoUrl()
      Returns:
      the URL to the repository
    • getPath

      public String getPath()
      Returns:
      the path in the repo containing the source files
    • getVersion

      public String getVersion()
      Returns:
      the current version deployed (not a branch name, the actual unique version)
    • getTag

      public String getTag()
      Returns:
      optional tag name
    • getBranch

      public String getBranch()
      Returns:
      optional branch name
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Specified by:
      getAdditionalProperties in interface OpenLineage.JobFacet
      Returns:
      additional properties