-
Methods in org.eclipse.emf.compare that return DifferenceKind
| Modifier and Type |
Method |
Description |
static DifferenceKind |
DifferenceKind.get(int value) |
Returns the 'Difference Kind' literal with the specified integer value.
|
static DifferenceKind |
DifferenceKind.get(java.lang.String literal) |
Returns the 'Difference Kind' literal with the specified literal value.
|
static DifferenceKind |
DifferenceKind.getByName(java.lang.String name) |
Returns the 'Difference Kind' literal with the specified name.
|
DifferenceKind |
Diff.getKind() |
Returns the value of the 'Kind' attribute.
|
static DifferenceKind |
DifferenceKind.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static DifferenceKind[] |
DifferenceKind.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
-
Methods in org.eclipse.emf.compare.diff with parameters of type DifferenceKind
| Modifier and Type |
Method |
Description |
void |
DiffBuilder.attributeChange(Match match,
EAttribute attribute,
java.lang.Object value,
DifferenceKind kind,
DifferenceSource source) |
This will be called whenever the diff engine detected a difference for a given attribute value.
|
void |
IDiffProcessor.attributeChange(Match match,
EAttribute attribute,
java.lang.Object value,
DifferenceKind kind,
DifferenceSource source) |
This will be called whenever the diff engine detected a difference for a given attribute value.
|
protected void |
DefaultDiffEngine.featureChange(Match match,
EStructuralFeature feature,
java.lang.Object value,
DifferenceKind kind,
DifferenceSource source) |
Delegates to the diff processor to create the specified feature change.
|
void |
DiffBuilder.featureMapChange(Match match,
EAttribute attribute,
java.lang.Object value,
DifferenceKind kind,
DifferenceSource source) |
This will be called whenever the diff engine detected a difference for a given attribute value.
|
void |
IDiffProcessor.featureMapChange(Match match,
EAttribute attribute,
java.lang.Object value,
DifferenceKind kind,
DifferenceSource source) |
This will be called whenever the diff engine detected a difference for a given attribute value.
|
void |
DiffBuilder.referenceChange(Match match,
EReference reference,
EObject value,
DifferenceKind kind,
DifferenceSource source) |
This will be called whenever the Diff engine detected a difference for a given reference value.
|
void |
IDiffProcessor.referenceChange(Match match,
EReference reference,
EObject value,
DifferenceKind kind,
DifferenceSource source) |
This will be called whenever the Diff engine detected a difference for a given reference value.
|
void |
DiffBuilder.resourceAttachmentChange(Match match,
java.lang.String uri,
DifferenceKind kind,
DifferenceSource source) |
This will be called whenever the diff engine detected the addition (or removal) of a root in a given
Resource.
|
void |
IDiffProcessor.resourceAttachmentChange(Match match,
java.lang.String uri,
DifferenceKind kind,
DifferenceSource source) |
This will be called whenever the diff engine detected the addition (or removal) of a root in a given
Resource.
|
void |
DiffBuilder.resourceLocationChange(MatchResource matchResource,
java.lang.String baseLocation,
java.lang.String changedLocation,
DifferenceKind kind,
DifferenceSource source) |
Deprecated.
|
void |
IDiffProcessor.resourceLocationChange(MatchResource matchResource,
java.lang.String baseLocation,
java.lang.String changedLocation,
DifferenceKind kind,
DifferenceSource source) |
This will be called whenever the diff engine detects the change of a Resource location.
|
-
-
-
Methods in org.eclipse.emf.compare.utils with parameters of type DifferenceKind
| Modifier and Type |
Method |
Description |
static java.util.function.Predicate<? super Diff> |
EMFCompareJavaPredicates.ofKind(DifferenceKind... kind) |
This predicate can be used to check whether a particular diff is of the given kind.
|
static com.google.common.base.Predicate<? super Diff> |
EMFComparePredicates.ofKind(DifferenceKind kind) |
Deprecated.
This predicate can be used to check whether a particular diff is of the given kind.
|
static com.google.common.base.Predicate<Diff> |
EMFComparePredicates.ofKind(DifferenceKind kind1,
DifferenceKind kind2) |
Deprecated.
Accept only diffs of the given kinds.
|