Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

oracle.javatools.compare
Interface CompareAlgorithm

All Known Subinterfaces:
CompareMergeAlgorithm

public interface CompareAlgorithm

An algorithm capable of comparing two contributors and returning a model of the differences between them.

Since:
10.0.3

Method Summary
 boolean canCompare(CompareContributor first, CompareContributor second)
          Deprecated. not replaced.
 CompareModel compare(CompareContributor first, CompareContributor second)
          Compare two contributors, returning a model of the differences between the two.
 

Method Detail

canCompare

@Deprecated
boolean canCompare(CompareContributor first,
                              CompareContributor second)
Deprecated. not replaced.

Return true if this algorithm can compare the two specified contributors.

Parameters:
first - the first contributor
second - the second contributor
Returns:
true if this algorithm can compare these contributors.

compare

CompareModel compare(CompareContributor first,
                     CompareContributor second)
                     throws CompareFailedException
Compare two contributors, returning a model of the differences between the two.

Parameters:
first - the first contributor
second - the second contributor
Returns:
a model of the differences between the two contributors.
Throws:
CompareAlgorithmException - if the two contributors could not be compared because of an error.
CompareFailedException

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

Copyright © 1997, 2011, Oracle. All rights reserved.