Class OpenLineageEnvironmentVariablesRunFacetVariable

java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageEnvironmentVariablesRunFacetVariable

public class OpenLineageEnvironmentVariablesRunFacetVariable extends Object
This class represents a single environment variable captured in the environmentVariables run facet. It is part of the OpenLineage spec.
  • Constructor Details

    • OpenLineageEnvironmentVariablesRunFacetVariable

      public OpenLineageEnvironmentVariablesRunFacetVariable()
      Default constructor
  • Method Details

    • getName

      public String getName()
      Return the name of the environment variable.
      Returns:
      string
    • setName

      public void setName(String name)
      Set up the name of the environment variable.
      Parameters:
      name - string
    • getValue

      public String getValue()
      Return the value of the environment variable.
      Returns:
      string
    • setValue

      public void setValue(String value)
      Set up the value of the environment variable.
      Parameters:
      value - string
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Object
      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:
      equals in class Object
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

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