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
-
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 Summary
Constructors Constructor Description OpenLineageSourceCodeLocationJobFacet()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetBranch()Return the optional branch name.StringgetPath()Return the path in the repo containing the source files.StringgetRepoUrl()Return the URL to the repository.StringgetTag()Return the optional tag name.StringgetType()Return the type of source code control system.URIgetUrl()Return the full http URL to locate the file.StringgetVersion()Return the current version deployed (not a branch name, the actual unique version).inthashCode()Return hash code based on properties.voidsetBranch(String branch)Set up the optional branch name.voidsetPath(String path)Set up the path in the repo containing the source files.voidsetRepoUrl(String repoUrl)Set up the URL to the repository.voidsetTag(String tag)Set up the optional tag name.voidsetType(String type)Set up the type of source code control system.voidsetUrl(URI url)Set up the full http URL to locate the file.voidsetVersion(String version)Set up the current version deployed (not a branch name, the actual unique version).StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageFacet
get_producer, get_schemaURL, getAdditionalProperties, set_producer, set_schemaURL, setAdditionalProperties
-
-
-
-
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
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classOpenLineageJobFacet- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classOpenLineageFacet- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return hash code based on properties.- Overrides:
hashCodein classOpenLineageFacet- Returns:
- int
-
-