|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TopologyComparator
Method Summary | |
---|---|
void |
applyFilter(ComparatorFilter filter)
Allows specification of filters to be applied to the compare() function. |
void |
clearResults()
Clears the result set so that the comparator instance may be reused. |
java.util.Collection |
compare(TopologyObject o1,
TopologyObject o2,
boolean recurse)
Compares the topology starting at the specified TopologyObject objects. |
AdditionalInfo |
getAdditionalInfo(java.lang.Object po)
Gather additional information about a given PropertyObject so that it may be reflected in the comparator output. |
ComparatorFilter[] |
getFilters()
Returns an array containing all of the currently applied filters. |
java.util.Collection |
getResults()
Returns the result set of the previous compare opertain in the form of a collection of Object[2] arrays. |
java.io.OutputStream |
resultsToXml(org.w3c.dom.Element compareInputXml)
Formats the result to an xml file in the form as defined by TopologyComparator.xsd. |
Method Detail |
---|
java.util.Collection compare(TopologyObject o1, TopologyObject o2, boolean recurse) throws TopologyComparatorException, TopologyException
o1
- reference TopologyObjecto2
- delta TopologyObjectrecurse
- specifes whether to recurse the topology
TopologyComparatorException
TopologyException
java.util.Collection getResults()
void clearResults()
void applyFilter(ComparatorFilter filter)
filter
- java.io.OutputStream resultsToXml(org.w3c.dom.Element compareInputXml) throws TopologyComparatorException
compareInputXml
- if specified, the element is copied into the reulting output
xml.
TopologyComparatorException
ComparatorFilter[] getFilters()
AdditionalInfo getAdditionalInfo(java.lang.Object po)
po
- specifies the PropertyObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |