Record Class DataHolderHelper.SynchronizableValuesStatusInfos
java.lang.Object
java.lang.Record
org.ametys.plugins.repository.data.holder.impl.DataHolderHelper.SynchronizableValuesStatusInfos
- Record Components:
dataHolder
- the data holderexternalizableContext
- the context that can be used to determine if the data is externalizable
- Enclosing class:
- DataHolderHelper
public static record DataHolderHelper.SynchronizableValuesStatusInfos(ModelAwareDataHolder dataHolder, Map<String,Object> externalizableContext)
extends Record
Stores informations needed to choose status of created
SynchronizableValue
-
Constructor Summary
ConstructorDescriptionSynchronizableValuesStatusInfos
(ModelAwareDataHolder dataHolder, Map<String, Object> externalizableContext) Creates an instance of aSynchronizableValuesStatusInfos
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedataHolder
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of theexternalizableContext
record component.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
SynchronizableValuesStatusInfos
public SynchronizableValuesStatusInfos(ModelAwareDataHolder dataHolder, Map<String, Object> externalizableContext) Creates an instance of aSynchronizableValuesStatusInfos
record class.- Parameters:
dataHolder
- the value for thedataHolder
record componentexternalizableContext
- the value for theexternalizableContext
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
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. All components in this record class are compared withObjects::equals(Object,Object)
. -
dataHolder
Returns the value of thedataHolder
record component.- Returns:
- the value of the
dataHolder
record component
-
externalizableContext
Returns the value of theexternalizableContext
record component.- Returns:
- the value of the
externalizableContext
record component
-