Packages

final class OfPatcherDefinition[A, Patch, Overrides <: PatcherOverrides, Flags <: PatcherFlags, ObjPath <: Path] extends PatcherPatchedValueFlagsDsl[[PatchedValueFlags]PatcherDefinition[A, Patch, Overrides, PatchedValue[ObjPath, PatchedValueFlags, Flags]], Flags]

Linear Supertypes
PatcherPatchedValueFlagsDsl[[PatchedValueFlags]PatcherDefinition[A, Patch, Overrides, PatchedValue[ObjPath, PatchedValueFlags, Flags]], Flags], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OfPatcherDefinition
  2. PatcherPatchedValueFlagsDsl
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new OfPatcherDefinition(castedTarget: Any)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def appendCollectionInPatch: PatcherDefinition[A, Patch, Overrides, PatchedValue[ObjPath, Enable[AppendCollectionInPatch, Flags], Flags]]

    In case when both object to patch and patch value contain field with a collection, this option allows to append value from patch to the source value, rather than overriding it.

    In case when both object to patch and patch value contain field with a collection, this option allows to append value from patch to the source value, rather than overriding it.

    By default, patch's collection overrides the content of a field.

    Definition Classes
    PatcherPatchedValueFlagsDsl
    Since

    1.7.0

    See also

    https://chimney.readthedocs.io/supported-patching/#appending-to-collection-instead-of-replacing-it for more details

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val castedTarget: Any
    Attributes
    protected
    Definition Classes
    OfPatcherDefinition → PatcherPatchedValueFlagsDsl
  7. def clearOnNoneInPatch: PatcherDefinition[A, Patch, Overrides, PatchedValue[ObjPath, Disable[IgnoreNoneInPatch, Flags], Flags]]

    When scala.Option is patching scala.Option, on scala.None value will be cleared.

    When scala.Option is patching scala.Option, on scala.None value will be cleared.

    Definition Classes
    PatcherPatchedValueFlagsDsl
    Since

    0.8.0

    See also

    https://chimney.readthedocs.io/supported-patching/#treating-none-as-no-update-instead-of-set-to-none for more details

  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def failRedundantPatcherFields: PatcherDefinition[A, Patch, Overrides, PatchedValue[ObjPath, Disable[IgnoreRedundantPatcherFields, Flags], Flags]]

    Fail the compilation if there is a redundant field in patching object.

    Fail the compilation if there is a redundant field in patching object.

    Definition Classes
    PatcherPatchedValueFlagsDsl
    Since

    0.8.0

    See also

    https://chimney.readthedocs.io/supported-patching/#ignoring-fields-in-patches for more details

  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def ignoreLeftInPatch: PatcherDefinition[A, Patch, Overrides, PatchedValue[ObjPath, Enable[IgnoreLeftInPatch, Flags], Flags]]

    In case when both object to patch and patch value contain field of type scala.Either, this option allows to treat scala.Left value in patch as if the value was not provided.

    In case when both object to patch and patch value contain field of type scala.Either, this option allows to treat scala.Left value in patch as if the value was not provided.

    By default, when scala.Left is delivered in patch, Chimney used this new value.

    Definition Classes
    PatcherPatchedValueFlagsDsl
    Since

    1.7.0

    See also

    https://chimney.readthedocs.io/supported-patching/#treating-left-as-no-update-instead-of-set-to-left for more details

  16. def ignoreNoneInPatch: PatcherDefinition[A, Patch, Overrides, PatchedValue[ObjPath, Enable[IgnoreNoneInPatch, Flags], Flags]]

    In case when both object to patch and patch value contain field of type scala.Option, this option allows to treat scala.None value in patch as if the value was not provided.

    In case when both object to patch and patch value contain field of type scala.Option, this option allows to treat scala.None value in patch as if the value was not provided.

    By default, when scala.None is delivered in patch, Chimney clears the value of such field on patching.

    Definition Classes
    PatcherPatchedValueFlagsDsl
    Since

    0.4.0

    See also

    https://chimney.readthedocs.io/supported-patching/#treating-none-as-no-update-instead-of-set-to-none for more details

  17. def ignoreRedundantPatcherFields: PatcherDefinition[A, Patch, Overrides, PatchedValue[ObjPath, Enable[IgnoreRedundantPatcherFields, Flags], Flags]]

    In case that patch object contains a redundant field (i.e.

    In case that patch object contains a redundant field (i.e. field that is not present in patched object type), this option enables ignoring value of such fields and generate patch successfully.

    By default, when Chimney detects a redundant field in patch object, it fails the compilation in order to prevent silent oversight of field name typos.

    Definition Classes
    PatcherPatchedValueFlagsDsl
    Since

    0.4.0

    See also

    https://chimney.readthedocs.io/supported-patching/#ignoring-fields-in-patches for more details

  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def overrideCollectionInPatch: PatcherDefinition[A, Patch, Overrides, PatchedValue[ObjPath, Disable[AppendCollectionInPatch, Flags], Flags]]

    When collection is patching collection, the value will be simply overriden.

    When collection is patching collection, the value will be simply overriden.

    Definition Classes
    PatcherPatchedValueFlagsDsl
    Since

    1.7.0

    See also

    https://chimney.readthedocs.io/supported-patching/#appending-to-collection-instead-of-replacing-it for more details

  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. def useLeftOnLeftInPatch: PatcherDefinition[A, Patch, Overrides, PatchedValue[ObjPath, Disable[IgnoreLeftInPatch, Flags], Flags]]

    When scala.Either is patching scala.Either, on scala.Left value will be overrides.

    When scala.Either is patching scala.Either, on scala.Left value will be overrides.

    Definition Classes
    PatcherPatchedValueFlagsDsl
    Since

    1.7.0

    See also

    https://chimney.readthedocs.io/supported-patching/#treating-left-as-no-update-instead-of-set-to-left for more details

  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from PatcherPatchedValueFlagsDsl[[PatchedValueFlags]PatcherDefinition[A, Patch, Overrides, PatchedValue[ObjPath, PatchedValueFlags, Flags]], Flags]

Inherited from AnyRef

Inherited from Any

Ungrouped