com.ptc.windchill.upgrade.ius
Class IncrementalUpdate.MinTargetVersionComparer
java.lang.Object
com.ptc.windchill.upgrade.ius.IncrementalUpdate.MinTargetVersionComparer
- Enclosing class:
- IncrementalUpdate
- static class IncrementalUpdate.MinTargetVersionComparer
- extends Object
Create a comparator that will enable sorting Incremental Updates based on the minimum version of their target version set.
Method Summary |
int |
compare(IncrementalUpdate left_iu,
IncrementalUpdate right_iu)
Comparing one incremental update to another to decide which
order migrators will be placed and executed in. |
boolean |
wereComparable()
For the last invocation of compare, were the two incremental updates comparable. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
wereComparable_
private boolean wereComparable_
IncrementalUpdate.MinTargetVersionComparer
IncrementalUpdate.MinTargetVersionComparer()
wereComparable
public boolean wereComparable()
- For the last invocation of compare, were the two incremental updates comparable.
IUs are comparable if they share one or more common assembly ids.
compare
public int compare(IncrementalUpdate left_iu,
IncrementalUpdate right_iu)
- Comparing one incremental update to another to decide which
order migrators will be placed and executed in.
- Parameters:
left_iu
- IncrementalUpdateright_iu
- IncrementalUpdate
- Returns:
- the value of comparing the left_iu and right_iu
- Throws:
WTRuntimeException