Record Class ManifestReloadResponse
java.lang.Object
java.lang.Record
ch.so.agi.gretl.control.server.manifest.ManifestReloadResponse
-
Constructor Summary
ConstructorsConstructorDescriptionManifestReloadResponse(boolean success, String path, Instant loadedAt, Instant attemptedAt, List<String> addedJobs, List<String> removedJobs, List<String> updatedJobs, List<String> unchangedJobs, List<String> skippedQueuedRuns, String error) Creates an instance of aManifestReloadResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaddedJobsrecord component.Returns the value of theattemptedAtrecord component.final booleanIndicates whether some other object is "equal to" this one.error()Returns the value of theerrorrecord component.final inthashCode()Returns a hash code value for this object.loadedAt()Returns the value of theloadedAtrecord component.path()Returns the value of thepathrecord component.Returns the value of theremovedJobsrecord component.Returns the value of theskippedQueuedRunsrecord component.booleansuccess()Returns the value of thesuccessrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theunchangedJobsrecord component.Returns the value of theupdatedJobsrecord component.
-
Constructor Details
-
ManifestReloadResponse
public ManifestReloadResponse(boolean success, String path, Instant loadedAt, Instant attemptedAt, List<String> addedJobs, List<String> removedJobs, List<String> updatedJobs, List<String> unchangedJobs, List<String> skippedQueuedRuns, String error) Creates an instance of aManifestReloadResponserecord class.- Parameters:
success- the value for thesuccessrecord componentpath- the value for thepathrecord componentloadedAt- the value for theloadedAtrecord componentattemptedAt- the value for theattemptedAtrecord componentaddedJobs- the value for theaddedJobsrecord componentremovedJobs- the value for theremovedJobsrecord componentupdatedJobs- the value for theupdatedJobsrecord componentunchangedJobs- the value for theunchangedJobsrecord componentskippedQueuedRuns- the value for theskippedQueuedRunsrecord componenterror- the value for theerrorrecord 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 '=='. -
success
public boolean success()Returns the value of thesuccessrecord component.- Returns:
- the value of the
successrecord component
-
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
-
attemptedAt
Returns the value of theattemptedAtrecord component.- Returns:
- the value of the
attemptedAtrecord component
-
addedJobs
Returns the value of theaddedJobsrecord component.- Returns:
- the value of the
addedJobsrecord component
-
removedJobs
Returns the value of theremovedJobsrecord component.- Returns:
- the value of the
removedJobsrecord component
-
updatedJobs
Returns the value of theupdatedJobsrecord component.- Returns:
- the value of the
updatedJobsrecord component
-
unchangedJobs
Returns the value of theunchangedJobsrecord component.- Returns:
- the value of the
unchangedJobsrecord component
-
skippedQueuedRuns
Returns the value of theskippedQueuedRunsrecord component.- Returns:
- the value of the
skippedQueuedRunsrecord component
-
error
Returns the value of theerrorrecord component.- Returns:
- the value of the
errorrecord component
-