Class OpenLineageSourceCodeLocationJobFacet


  • public class OpenLineageSourceCodeLocationJobFacet
    extends OpenLineageJobFacet
    This class represents the content of an open lineage source code location job facet as defined in JSON spec https://openlineage.io/spec/facets/1-0-0/SourceCodeLocationJobFacet.json#/$defs/SourceCodeLocationJobFacet. It is used internally in Egeria to pass this information to the Lineage Integrator OMIS's integration connectors.
    • Constructor Detail

      • OpenLineageSourceCodeLocationJobFacet

        public OpenLineageSourceCodeLocationJobFacet()
        Default constructor
    • Method Detail

      • getType

        public String getType()
        Return the type of source code control system.
        Returns:
        string name
      • setType

        public void setType​(String type)
        Set up the type of source code control system.
        Parameters:
        type - string name
      • getUrl

        public URI getUrl()
        Return the full http URL to locate the file.
        Returns:
        url
      • setUrl

        public void setUrl​(URI url)
        Set up the full http URL to locate the file.
        Parameters:
        url - url
      • getRepoUrl

        public String getRepoUrl()
        Return the URL to the repository.
        Returns:
        url
      • setRepoUrl

        public void setRepoUrl​(String repoUrl)
        Set up the URL to the repository.
        Parameters:
        repoUrl - url
      • getPath

        public String getPath()
        Return the path in the repo containing the source files.
        Returns:
        name
      • setPath

        public void setPath​(String path)
        Set up the path in the repo containing the source files.
        Parameters:
        path - name
      • getVersion

        public String getVersion()
        Return the current version deployed (not a branch name, the actual unique version).
        Returns:
        version number
      • setVersion

        public void setVersion​(String version)
        Set up the current version deployed (not a branch name, the actual unique version).
        Parameters:
        version - version number
      • getTag

        public String getTag()
        Return the optional tag name.
        Returns:
        name
      • setTag

        public void setTag​(String tag)
        Set up the optional tag name.
        Parameters:
        tag - name
      • getBranch

        public String getBranch()
        Return the optional branch name.
        Returns:
        name
      • setBranch

        public void setBranch​(String branch)
        Set up the optional branch name.
        Parameters:
        branch - name
      • equals

        public boolean equals​(Object objectToCompare)
        Compare the values of the supplied object with those stored in the current object.
        Overrides:
        equals in class OpenLineageFacet
        Parameters:
        objectToCompare - supplied object
        Returns:
        boolean result of comparison
      • hashCode

        public int hashCode()
        Return has code based on properties.
        Overrides:
        hashCode in class OpenLineageFacet
        Returns:
        int