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 aReconciliationRequest
record class. -
Method Summary
Modifier and TypeMethodDescriptionlong
actions()
Returns the value of theactions
record component.bucket()
Returns the value of thebucket
record component.long
checked()
Returns the value of thechecked
record component.long
Returns the value of thecheckedDb
record component.long
Returns the value of thecheckedDriver
record component.long
Returns the value of thecheckedRemote
record component.clientId()
Returns the value of theclientId
record component.Returns the value of thecontextSites
record component.Returns the value of thecurrentSite
record component.boolean
dryRun()
Returns the value of thedryRun
record component.final boolean
Indicates whether some other object is "equal to" this one.filter()
Returns the value of thefilter
record component.fromSite()
Returns the value of thefromSite
record component.final int
hashCode()
Returns a hash code value for this object.id()
Returns the value of theid
record component.start()
Returns the value of thestart
record component.stop()
Returns the value of thestop
record component.final String
toString()
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 aReconciliationRequest
record class.- Parameters:
id
- the value for theid
record componentclientId
- the value for theclientId
record componentbucket
- the value for thebucket
record componentfilter
- the value for thefilter
record componentfromSite
- the value for thefromSite
record componentcurrentSite
- the value for thecurrentSite
record componentcontextSites
- the value for thecontextSites
record componentstart
- the value for thestart
record componentchecked
- the value for thechecked
record componentcheckedDb
- the value for thecheckedDb
record componentcheckedDriver
- the value for thecheckedDriver
record componentcheckedRemote
- the value for thecheckedRemote
record componentactions
- the value for theactions
record componentdryRun
- the value for thedryRun
record componentstop
- the value for thestop
record 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 theid
record component.- Returns:
- the value of the
id
record component
-
clientId
Returns the value of theclientId
record component.- Returns:
- the value of the
clientId
record component
-
bucket
Returns the value of thebucket
record component.- Returns:
- the value of the
bucket
record component
-
filter
Returns the value of thefilter
record component.- Returns:
- the value of the
filter
record component
-
fromSite
Returns the value of thefromSite
record component.- Returns:
- the value of the
fromSite
record component
-
currentSite
Returns the value of thecurrentSite
record component.- Returns:
- the value of the
currentSite
record component
-
contextSites
Returns the value of thecontextSites
record component.- Returns:
- the value of the
contextSites
record component
-
start
Returns the value of thestart
record component.- Returns:
- the value of the
start
record component
-
checked
public long checked()Returns the value of thechecked
record component.- Returns:
- the value of the
checked
record component
-
checkedDb
public long checkedDb()Returns the value of thecheckedDb
record component.- Returns:
- the value of the
checkedDb
record component
-
checkedDriver
public long checkedDriver()Returns the value of thecheckedDriver
record component.- Returns:
- the value of the
checkedDriver
record component
-
checkedRemote
public long checkedRemote()Returns the value of thecheckedRemote
record component.- Returns:
- the value of the
checkedRemote
record component
-
actions
public long actions()Returns the value of theactions
record component.- Returns:
- the value of the
actions
record component
-
dryRun
public boolean dryRun()Returns the value of thedryRun
record component.- Returns:
- the value of the
dryRun
record component
-
stop
Returns the value of thestop
record component.- Returns:
- the value of the
stop
record component
-