Record Class ManifestCatalog.ManifestStatus
java.lang.Object
java.lang.Record
ch.so.agi.gretl.control.server.manifest.ManifestCatalog.ManifestStatus
- Enclosing class:
- ManifestCatalog
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.jobIds()Returns the value of thejobIdsrecord component.Returns the value of thelastReloadAttemptAtrecord component.Returns the value of thelastReloadErrorrecord component.loadedAt()Returns the value of theloadedAtrecord component.path()Returns the value of thepathrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ManifestStatus
public ManifestStatus(Path path, Instant loadedAt, Instant lastReloadAttemptAt, String lastReloadError, List<String> jobIds) Creates an instance of aManifestStatusrecord class.- Parameters:
path- the value for thepathrecord componentloadedAt- the value for theloadedAtrecord componentlastReloadAttemptAt- the value for thelastReloadAttemptAtrecord componentlastReloadError- the value for thelastReloadErrorrecord componentjobIds- the value for thejobIdsrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
loadedAt
Returns the value of theloadedAtrecord component.- Returns:
- the value of the
loadedAtrecord component
-
lastReloadAttemptAt
Returns the value of thelastReloadAttemptAtrecord component.- Returns:
- the value of the
lastReloadAttemptAtrecord component
-
lastReloadError
Returns the value of thelastReloadErrorrecord component.- Returns:
- the value of the
lastReloadErrorrecord component
-
jobIds
Returns the value of thejobIdsrecord component.- Returns:
- the value of the
jobIdsrecord component
-