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

    Constructors
    Constructor
    Description
    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 a ReconciliationRequest record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the value of the actions record component.
    Returns the value of the bucket record component.
    long
    Returns the value of the checked record component.
    long
    Returns the value of the checkedDb record component.
    long
    Returns the value of the checkedDriver record component.
    long
    Returns the value of the checkedRemote record component.
    Returns the value of the clientId record component.
    Returns the value of the contextSites record component.
    Returns the value of the currentSite record component.
    boolean
    Returns the value of the dryRun record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    Returns the value of the filter record component.
    Returns the value of the fromSite record component.
    final int
    Returns a hash code value for this object.
    id()
    Returns the value of the id record component.
    Returns the value of the start record component.
    Returns the value of the stop record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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 a ReconciliationRequest record class.
      Parameters:
      id - the value for the id record component
      clientId - the value for the clientId record component
      bucket - the value for the bucket record component
      filter - the value for the filter record component
      fromSite - the value for the fromSite record component
      currentSite - the value for the currentSite record component
      contextSites - the value for the contextSites record component
      start - the value for the start record component
      checked - the value for the checked record component
      checkedDb - the value for the checkedDb record component
      checkedDriver - the value for the checkedDriver record component
      checkedRemote - the value for the checkedRemote record component
      actions - the value for the actions record component
      dryRun - the value for the dryRun record component
      stop - the value for the stop record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • id

      public String id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • clientId

      public String clientId()
      Returns the value of the clientId record component.
      Returns:
      the value of the clientId record component
    • bucket

      public String bucket()
      Returns the value of the bucket record component.
      Returns:
      the value of the bucket record component
    • filter

      public AccessorFilter filter()
      Returns the value of the filter record component.
      Returns:
      the value of the filter record component
    • fromSite

      public String fromSite()
      Returns the value of the fromSite record component.
      Returns:
      the value of the fromSite record component
    • currentSite

      public String currentSite()
      Returns the value of the currentSite record component.
      Returns:
      the value of the currentSite record component
    • contextSites

      public List<String> contextSites()
      Returns the value of the contextSites record component.
      Returns:
      the value of the contextSites record component
    • start

      public Instant start()
      Returns the value of the start record component.
      Returns:
      the value of the start record component
    • checked

      public long checked()
      Returns the value of the checked record component.
      Returns:
      the value of the checked record component
    • checkedDb

      public long checkedDb()
      Returns the value of the checkedDb record component.
      Returns:
      the value of the checkedDb record component
    • checkedDriver

      public long checkedDriver()
      Returns the value of the checkedDriver record component.
      Returns:
      the value of the checkedDriver record component
    • checkedRemote

      public long checkedRemote()
      Returns the value of the checkedRemote record component.
      Returns:
      the value of the checkedRemote record component
    • actions

      public long actions()
      Returns the value of the actions record component.
      Returns:
      the value of the actions record component
    • dryRun

      public boolean dryRun()
      Returns the value of the dryRun record component.
      Returns:
      the value of the dryRun record component
    • stop

      public Instant stop()
      Returns the value of the stop record component.
      Returns:
      the value of the stop record component