Class DependencyChecker
- java.lang.Object
-
- org.eclipse.emf.edapt.history.util.DependencyChecker
-
public final class DependencyChecker extends Object
Helper class to check whether a change depends on another change- Version:
- $Rev$
- Author:
- herrmama, $Author$
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
depends(List<Change> sourceChanges, List<Change> targetChanges)
Check whether a list of changes (source) depends on another list of changes (target).static boolean
depends(Change sourceChange, List<Change> targetChanges)
Check whether a change (source) depends on a list of changes (target).static boolean
depends(Change source, Change target)
Check whether a change (source) depends on another change (target).static boolean
depends(PrimitiveChange source, PrimitiveChange target)
Check whether a primitive change depends on another primitive change.
-
-
-
Method Detail
-
depends
public static boolean depends(List<Change> sourceChanges, List<Change> targetChanges)
Check whether a list of changes (source) depends on another list of changes (target).
-
depends
public static boolean depends(Change sourceChange, List<Change> targetChanges)
Check whether a change (source) depends on a list of changes (target).
-
depends
public static boolean depends(Change source, Change target)
Check whether a change (source) depends on another change (target).
-
depends
public static boolean depends(PrimitiveChange source, PrimitiveChange target)
Check whether a primitive change depends on another primitive change. A primitive change depends on another one if the first requires the second or they conflict with each other.
-
-