Interface CDOAdapterPolicy

All Known Implementing Classes:
AbstractObjectConflictResolver.MergeLocalChangesPerFeature, AbstractObjectConflictResolver.ThreeWayMerge

public interface CDOAdapterPolicy
A policy that allows to specify valid Adapter / EObject combinations.
Since:
2.0
Author:
Simon McDuff
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final CDOAdapterPolicy
    A default adapter policy that always triggers special behavior.
    static final CDOAdapterPolicy
    A default adapter policy that only triggers special behavior if the adapter under test implements CDOAdapter.
    static final CDOAdapterPolicy
    A default adapter policy that never triggers any special behavior.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isValid(EObject eObject, Adapter adapter)
    Returns true if the given adapter on the given object should trigger a certain operation or behavior, false otherwise.