public interface AQSchemaDifferences
Modifier and Type | Method and Description |
---|---|
void |
addSortingByNameAscending()
Adds sorting by schema object name in ascending order.
|
void |
addSortingByNameDescending()
Adds sorting by schema object name in descending order.
|
void |
addSortingByResultAscending()
Adds sorting by comparison result in ascending order (deleted, modified, added, unchanged).
|
void |
addSortingByResultDescending()
Adds sorting by comparison result in descending order (unchanged, added, modified, deleted).
|
void |
addSortingByTypeAscending()
Adds sorting by schema object type in ascending order.
|
void |
addSortingByTypeDescending()
Adds sorting by schema object type in descending order.
|
void |
clearSorting()
Removes all sorting criteria.
|
AQSchemaCompareItem[] |
getAddedItems()
Returns an array of added items.
|
AQCompareOptions |
getCompareOptions()
Returns a mutable object which allows for setting comparison options.
|
AQSchemaCompareItem[] |
getDeletedItems()
Returns an array of deleted items.
|
AQSchemaCompareItem[] |
getModifiedItems()
Returns an array of modified items.
|
AQSchemaCompareItem[] |
getUnchangedItems()
Returns an array of unchanged items.
|
boolean |
hasChanges()
Returns true if there is at least one difference.
|
void |
saveToHtml(String folderName)
Generates a set of HTML files representing the differences.
|
void |
saveToHtml(String folderName,
boolean includeAdded,
boolean includeModified,
boolean includeDeleted,
boolean includeUnchanged)
Generates a set of HTML files representing the differences.
|
void |
sort()
Sorts the result using criteria set with addSorting...
|
void addSortingByTypeAscending()
sort()
to actually sort the data.void addSortingByTypeDescending()
sort()
to actually sort the data.void addSortingByNameAscending()
sort()
to actually sort the data.void addSortingByNameDescending()
sort()
to actually sort the data.void addSortingByResultAscending()
sort()
to actually sort the data.void addSortingByResultDescending()
sort()
to actually sort the data.void clearSorting()
sort()
to actually sort the data.void sort()
boolean hasChanges()
void saveToHtml(String folderName) throws Exception
folderName
- Output folder name.Exception
- On error.void saveToHtml(String folderName, boolean includeAdded, boolean includeModified, boolean includeDeleted, boolean includeUnchanged) throws Exception
folderName
- Output folder name.includeAdded
- To include addedincludeModified
- To include modifiedincludeDeleted
- To include deletedincludeUnchanged
- To include unchangedException
- on errorAQSchemaCompareItem[] getAddedItems()
AQSchemaCompareItem[] getDeletedItems()
AQSchemaCompareItem[] getModifiedItems()
AQSchemaCompareItem[] getUnchangedItems()
AQCompareOptions getCompareOptions()
Copyright © 2017 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.