Class OpenLineageEnvironmentVariablesRunFacet
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageRunFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageEnvironmentVariablesRunFacet
This class represents the environmentVariables run facet. It captures the environment variables in effect for the run.
It follows the OpenLineage facet spec https://openlineage.io/spec/facets/1-0-0/EnvironmentVariablesRunFacet.json#/$defs/EnvironmentVariablesRunFacet.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the environment variables for the run.inthashCode()Return hash code based on properties.voidsetEnvironmentVariables(List<OpenLineageEnvironmentVariablesRunFacetVariable> environmentVariables) Set up the environment variables for the run.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
get_producer, get_schemaURL, getAdditionalProperties, set_producer, set_schemaURL, setAdditionalProperties, setAdditionalProperty
-
Constructor Details
-
OpenLineageEnvironmentVariablesRunFacet
public OpenLineageEnvironmentVariablesRunFacet()Default constructor
-
-
Method Details
-
getEnvironmentVariables
Return the environment variables for the run.- Returns:
- list
-
setEnvironmentVariables
public void setEnvironmentVariables(List<OpenLineageEnvironmentVariablesRunFacetVariable> environmentVariables) Set up the environment variables for the run.- Parameters:
environmentVariables- list
-
toString
Standard toString method.- Overrides:
toStringin classOpenLineageRunFacet- 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:
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
-