Class OpenLineageNominalTimeRunFacet
- java.lang.Object
-
- org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageRunFacet
-
- org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageNominalTimeRunFacet
-
public class OpenLineageNominalTimeRunFacet extends OpenLineageRunFacet
This class represents the content of an open lineage schema for the nominal (expected) time of a job run facet as defined in JSON spec https://openlineage.io/spec/facets/1-0-0/NominalTimeRunFacet.json#/$defs/NominalTimeRunFacet. It is used internally in Egeria to pass this information to the Lineage Integrator OMIS's integration connectors.
-
-
Constructor Summary
Constructors Constructor Description OpenLineageNominalTimeRunFacet()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.StringgetNominalEndTime()Return an [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp representing the nominal end time (excluded) of the run.StringgetNominalStartTime()Return an [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp representing the nominal start time (included) of the run.inthashCode()Return has code based on properties.voidsetNominalEndTime(String nominalEndTime)Set up an [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp representing the nominal end time (excluded) of the run.voidsetNominalStartTime(String nominalStartTime)Set up an [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp representing the nominal start time (included) of the run.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageRunFacet
get_producer, get_schemaURL, getAdditionalProperties, set_producer, set_schemaURL, setAdditionalProperties
-
-
-
-
Method Detail
-
getNominalStartTime
public String getNominalStartTime()
Return an [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp representing the nominal start time (included) of the run. AKA the schedule time.- Returns:
- zoned time stamp
-
setNominalStartTime
public void setNominalStartTime(String nominalStartTime)
Set up an [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp representing the nominal start time (included) of the run. AKA the schedule time.- Parameters:
nominalStartTime- zoned time stamp
-
getNominalEndTime
public String getNominalEndTime()
Return an [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp representing the nominal end time (excluded) of the run. (Should be the nominal start time of next run.)- Returns:
- zoned time stamp
-
setNominalEndTime
public void setNominalEndTime(String nominalEndTime)
Set up an [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp representing the nominal end time (excluded) of the run. (Should be the nominal start time of next run.)- Parameters:
nominalEndTime- zoned time stamp
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classOpenLineageRunFacet- 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 classOpenLineageRunFacet- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return has code based on properties.- Overrides:
hashCodein classOpenLineageRunFacet- Returns:
- int
-
-