Record Class ManifestStatusResponse
java.lang.Object
java.lang.Record
ch.so.agi.gretl.control.server.manifest.ManifestStatusResponse
-
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.booleanReturns the value of thewatchEnabledrecord component.
-
Constructor Details
-
ManifestStatusResponse
public ManifestStatusResponse(String path, Instant loadedAt, Instant lastReloadAttemptAt, String lastReloadError, boolean watchEnabled, List<String> jobIds) Creates an instance of aManifestStatusResponserecord class.- Parameters:
path- the value for thepathrecord componentloadedAt- the value for theloadedAtrecord componentlastReloadAttemptAt- the value for thelastReloadAttemptAtrecord componentlastReloadError- the value for thelastReloadErrorrecord componentwatchEnabled- the value for thewatchEnabledrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
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
-
watchEnabled
public boolean watchEnabled()Returns the value of thewatchEnabledrecord component.- Returns:
- the value of the
watchEnabledrecord component
-
jobIds
Returns the value of thejobIdsrecord component.- Returns:
- the value of the
jobIdsrecord component
-