Class OpenLineageSourceCodeLocationJobFacet
java.lang.Object
org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageFacet
org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageJobFacet
org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageSourceCodeLocationJobFacet
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the optional branch name.getPath()
Return the path in the repo containing the source files.Return the URL to the repository.getTag()
Return the optional tag name.getType()
Return the type of source code control system.getUrl()
Return the full http URL to locate the file.Return the current version deployed (not a branch name, the actual unique version).int
hashCode()
Return hash code based on properties.void
Set up the optional branch name.void
Set up the path in the repo containing the source files.void
setRepoUrl
(String repoUrl) Set up the URL to the repository.void
Set up the optional tag name.void
Set up the type of source code control system.void
Set up the full http URL to locate the file.void
setVersion
(String version) Set up the current version deployed (not a branch name, the actual unique version).toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageFacet
get_producer, get_schemaURL, getAdditionalProperties, set_producer, set_schemaURL, setAdditionalProperties
-
Constructor Details
-
OpenLineageSourceCodeLocationJobFacet
public OpenLineageSourceCodeLocationJobFacet()Default constructor
-
-
Method Details
-
getType
Return the type of source code control system.- Returns:
- string name
-
setType
Set up the type of source code control system.- Parameters:
type
- string name
-
getUrl
Return the full http URL to locate the file.- Returns:
- url
-
setUrl
Set up the full http URL to locate the file.- Parameters:
url
- url
-
getRepoUrl
Return the URL to the repository.- Returns:
- url
-
setRepoUrl
Set up the URL to the repository.- Parameters:
repoUrl
- url
-
getPath
Return the path in the repo containing the source files.- Returns:
- name
-
setPath
Set up the path in the repo containing the source files.- Parameters:
path
- name
-
getVersion
Return the current version deployed (not a branch name, the actual unique version).- Returns:
- version number
-
setVersion
Set up the current version deployed (not a branch name, the actual unique version).- Parameters:
version
- version number
-
getTag
Return the optional tag name.- Returns:
- name
-
setTag
Set up the optional tag name.- Parameters:
tag
- name
-
getBranch
Return the optional branch name.- Returns:
- name
-
setBranch
Set up the optional branch name.- Parameters:
branch
- name
-
toString
Standard toString method.- Overrides:
toString
in classOpenLineageJobFacet
- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classOpenLineageFacet
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classOpenLineageFacet
- Returns:
- int
-