Record Class MirrorVerification
java.lang.Object
java.lang.Record
org.exoplatform.caldav.model.MirrorVerification
- Record Components:
checked- how many copies were compared against the servermissing- how many the server no longer holdsaltered- how many the server holds in a form eXo did not writeadopted- how many carried an answer the account's owner gave from their own calendar, now recorded in agenda (EXO-89681)repaired- how many were written againabandoned- how many were left alone because repairing them has stopped working — the pass gives up rather than fighting the same object for ever
public record MirrorVerification(int checked, int missing, int altered, int adopted, int repaired, int abandoned)
extends Record
What one pass over the copies eXo pushed found, and what it did about it.
-
Constructor Summary
ConstructorsConstructorDescriptionMirrorVerification(int checked, int missing, int altered, int adopted, int repaired, int abandoned) Creates an instance of aMirrorVerificationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theabandonedrecord component.intadopted()Returns the value of theadoptedrecord component.intaltered()Returns the value of thealteredrecord component.booleanintchecked()Returns the value of thecheckedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intmissing()Returns the value of themissingrecord component.static MirrorVerificationnothing()intrepaired()Returns the value of therepairedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MirrorVerification
public MirrorVerification(int checked, int missing, int altered, int adopted, int repaired, int abandoned) Creates an instance of aMirrorVerificationrecord class.- Parameters:
checked- the value for thecheckedrecord componentmissing- the value for themissingrecord componentaltered- the value for thealteredrecord componentadopted- the value for theadoptedrecord componentrepaired- the value for therepairedrecord componentabandoned- the value for theabandonedrecord component
-
-
Method Details
-
nothing
- Returns:
- a pass that found nothing to do, or could not run
-
changedAnything
public boolean changedAnything()- Returns:
- whether anything was written back this pass
-
toString
-
hashCode
-
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. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
checked
-
missing
-
altered
-
adopted
-
repaired
-
abandoned
-