|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.javatools.compare.CompareModelFactory
public final class CompareModelFactory
Factory that knows how to create a CompareModel using a CompareAlgorithm.
Method Summary | |
---|---|
static CompareAlgorithm |
createCompareAlgorithm(CompareType type)
|
static CompareModel |
createCompareModel(CompareContributor first,
CompareContributor second)
Compare the first contributor to the second contributor and return a model describing the differences. |
static CompareModel |
createCompareModel(CompareContributor first,
CompareContributor second,
CompareType type)
Compare the first contributor to the second contributor and return a model describing the differences. |
static CompareModel |
createCompareModel(CompareContributor first,
CompareContributor second,
CompareType type,
CompareAlgorithm compareAlgorithm)
|
static CompareModel |
createMergeModel(CompareContributor first,
CompareContributor second,
CompareContributor ancestor)
Merge the first contributor and the second contributor based on a third and return a model of conflicting differences. |
static CompareModel |
createMergeModel(CompareContributor first,
CompareContributor second,
CompareContributor ancestor,
CompareType type)
Merge the first contributor and the second contributor based on a third and return a model of conflicting differences. |
static void |
registerCompareAlgorithm(CompareType type,
java.lang.Class<? extends CompareAlgorithm> algorithmClass)
|
static void |
registerCompareAlgorithm(CompareType type,
Thunk<java.lang.Class<? extends CompareAlgorithm>> algorithmClass)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final void registerCompareAlgorithm(CompareType type, java.lang.Class<? extends CompareAlgorithm> algorithmClass)
public static final void registerCompareAlgorithm(CompareType type, Thunk<java.lang.Class<? extends CompareAlgorithm>> algorithmClass)
public static CompareModel createCompareModel(CompareContributor first, CompareContributor second) throws CompareFailedException
first
- the first contributor.second
- the second contributor.
CompareFailedException
public static CompareModel createMergeModel(CompareContributor first, CompareContributor second, CompareContributor ancestor) throws CompareFailedException
first
- the first contributor.second
- the second contributor.ancestor
- the ancestor contributor.
CompareFailedException
public static CompareModel createCompareModel(CompareContributor first, CompareContributor second, CompareType type) throws CompareFailedException
first
- the first contributor.second
- the second contributor.type
- the compare type.
CompareFailedException
public static CompareModel createCompareModel(CompareContributor first, CompareContributor second, CompareType type, CompareAlgorithm compareAlgorithm) throws CompareFailedException
CompareFailedException
public static CompareModel createMergeModel(CompareContributor first, CompareContributor second, CompareContributor ancestor, CompareType type) throws CompareFailedException
first
- the first contributor.second
- the second contributor.ancestor
- the ancestor contributor.type
- the compare type.
CompareFailedException
public static final CompareAlgorithm createCompareAlgorithm(CompareType type)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |