Package org.alfresco.util.schemacomp
Class DiffContext
java.lang.Object
org.alfresco.util.schemacomp.DiffContext
A context made available to schema differencing and validation operations. It supplies information
about the
database dialect that should be used when validating database properties
and the Results object that should be populated with schema differences and validation errors.- Author:
- Matt Ward
-
Constructor Summary
ConstructorsConstructorDescriptionDiffContext(Dialect dialect, Schema referenceSchema, Schema targetSchema) Constructor.DiffContext(Dialect dialect, Results results, Schema referenceSchema, Schema targetSchema) Constructor. -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
DiffContext
Constructor.- Parameters:
dialect- Dialectresults- ResultsreferenceSchema- SchematargetSchema- Schema
-
DiffContext
Constructor.- Parameters:
dialect- DialectreferenceSchema- SchematargetSchema- Schema
-
-
Method Details
-
getDialect
- Returns:
- the dialect
-
getComparisonResults
- Returns:
- the results of schema comparison: validation failures, differences etc.
-
getReferenceSchema
- Returns:
- the referenceSchema
-
getTargetSchema
- Returns:
- the targetSchema
-