Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

oracle.javatools.db.diff
Class GenericDiffEngine

java.lang.Object
  extended by oracle.javatools.db.diff.GenericDiffEngine

public class GenericDiffEngine
extends java.lang.Object

Utility class that sets up a DiffEngine that can generically diff all our DBObjects. Should be used for all diffing in the API.

Since:
11

Constructor Summary
GenericDiffEngine()
           
 
Method Summary
static DiffEngine getDiffEngine(boolean strictIDComparison)
          Returns a fresh, generic diff engine.
static DiffEngine getDiffEngine(boolean strictIDComparison, boolean sqlTextCompare)
          Returns a fresh, generic diff engine.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericDiffEngine

public GenericDiffEngine()
Method Detail

getDiffEngine

public static DiffEngine getDiffEngine(boolean strictIDComparison)
Returns a fresh, generic diff engine. Optionally it can stricly, or loosely compare all IDs.

Parameters:
strictIDComparison - - whether to strictly or loosely compare IDs.

getDiffEngine

public static DiffEngine getDiffEngine(boolean strictIDComparison,
                                       boolean sqlTextCompare)
Returns a fresh, generic diff engine. Optionally it can stricly, or loosely compare all IDs.

Parameters:
strictIDComparison - - whether to strictly or loosely compare IDs.
sqlTextCompare - - whether to compare SQLFragments by their text only.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

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