Record Class MirrorTarget
java.lang.Object
java.lang.Record
org.exoplatform.caldav.service.MirrorTarget
- Record Components:
href- the collection the copies are written into, canonicaladopted- true when the server refused to create a collection and an existing calendar was taken as the destination insteadname- the calendar's display name — only meaningful when adopted, so the settings can name the calendar genuinely receiving the copies rather than announcing one that was never created
-
Constructor Summary
ConstructorsConstructorDescriptionMirrorTarget(String href, boolean adopted, String name) Creates an instance of aMirrorTargetrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanadopted()Returns the value of theadoptedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.href()Returns the value of thehrefrecord component.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MirrorTarget
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
href
-
adopted
-
name
-