Record Class ReconciliationRequest
java.lang.Object
java.lang.Record
io.clonecloudstore.reconciliator.model.ReconciliationRequest
public record ReconciliationRequest(String id, String clientId, String bucket, AccessorFilter filter, String fromSite, String currentSite, List<String> contextSites, Instant start, long checked, long checkedDb, long checkedDriver, long checkedRemote, long actions, boolean dryRun, Instant stop)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionReconciliationRequest(String id, String clientId, String bucket, AccessorFilter filter, String fromSite, String currentSite, List<String> contextSites, Instant start, long checked, long checkedDb, long checkedDriver, long checkedRemote, long actions, boolean dryRun, Instant stop) Creates an instance of aReconciliationRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongactions()Returns the value of theactionsrecord component.bucket()Returns the value of thebucketrecord component.longchecked()Returns the value of thecheckedrecord component.longReturns the value of thecheckedDbrecord component.longReturns the value of thecheckedDriverrecord component.longReturns the value of thecheckedRemoterecord component.clientId()Returns the value of theclientIdrecord component.Returns the value of thecontextSitesrecord component.Returns the value of thecurrentSiterecord component.booleandryRun()Returns the value of thedryRunrecord component.final booleanIndicates whether some other object is "equal to" this one.filter()Returns the value of thefilterrecord component.fromSite()Returns the value of thefromSiterecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.start()Returns the value of thestartrecord component.stop()Returns the value of thestoprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ReconciliationRequest
public ReconciliationRequest(String id, String clientId, String bucket, AccessorFilter filter, String fromSite, String currentSite, List<String> contextSites, Instant start, long checked, long checkedDb, long checkedDriver, long checkedRemote, long actions, boolean dryRun, Instant stop) Creates an instance of aReconciliationRequestrecord class.- Parameters:
id- the value for theidrecord componentclientId- the value for theclientIdrecord componentbucket- the value for thebucketrecord componentfilter- the value for thefilterrecord componentfromSite- the value for thefromSiterecord componentcurrentSite- the value for thecurrentSiterecord componentcontextSites- the value for thecontextSitesrecord componentstart- the value for thestartrecord componentchecked- the value for thecheckedrecord componentcheckedDb- the value for thecheckedDbrecord componentcheckedDriver- the value for thecheckedDriverrecord componentcheckedRemote- the value for thecheckedRemoterecord componentactions- the value for theactionsrecord componentdryRun- the value for thedryRunrecord componentstop- the value for thestoprecord 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 '=='. -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
clientId
Returns the value of theclientIdrecord component.- Returns:
- the value of the
clientIdrecord component
-
bucket
Returns the value of thebucketrecord component.- Returns:
- the value of the
bucketrecord component
-
filter
Returns the value of thefilterrecord component.- Returns:
- the value of the
filterrecord component
-
fromSite
Returns the value of thefromSiterecord component.- Returns:
- the value of the
fromSiterecord component
-
currentSite
Returns the value of thecurrentSiterecord component.- Returns:
- the value of the
currentSiterecord component
-
contextSites
Returns the value of thecontextSitesrecord component.- Returns:
- the value of the
contextSitesrecord component
-
start
Returns the value of thestartrecord component.- Returns:
- the value of the
startrecord component
-
checked
public long checked()Returns the value of thecheckedrecord component.- Returns:
- the value of the
checkedrecord component
-
checkedDb
public long checkedDb()Returns the value of thecheckedDbrecord component.- Returns:
- the value of the
checkedDbrecord component
-
checkedDriver
public long checkedDriver()Returns the value of thecheckedDriverrecord component.- Returns:
- the value of the
checkedDriverrecord component
-
checkedRemote
public long checkedRemote()Returns the value of thecheckedRemoterecord component.- Returns:
- the value of the
checkedRemoterecord component
-
actions
public long actions()Returns the value of theactionsrecord component.- Returns:
- the value of the
actionsrecord component
-
dryRun
public boolean dryRun()Returns the value of thedryRunrecord component.- Returns:
- the value of the
dryRunrecord component
-
stop
Returns the value of thestoprecord component.- Returns:
- the value of the
stoprecord component
-