Class AbstractDiscrepancyResolver

java.lang.Object
com.ptc.windchill.associativity.reconciliation.AbstractDiscrepancyProcessor
com.ptc.windchill.associativity.reconciliation.resolver.AbstractDiscrepancyResolver
Direct Known Subclasses:
AbstractAddUsageResolver

public abstract class AbstractDiscrepancyResolver extends AbstractDiscrepancyProcessor
Abstract for discrepancy resolvers which are used to resolve particular types of discrepancies.


Supported API: true

Extendable: true
  • Method Details

    • resolve

      protected abstract ReconciliationReport resolve(ReconciliationContext context, Collection<? extends Discrepancy2> discrepanciesToResolve) throws WTException
      Supported API: true
      Parameters:
      context -
      discrepanciesToResolve -
      Returns:
      Throws:
      WTException
    • createEquivalenceLinks

      protected List<EquivalenceLink> createEquivalenceLinks(Set<AssociativePath> sourceAssociativePaths, AssociativePath downstreamAssociativePath, ReconciliationContext context, Collection<EquivalenceLinkAnnotation> equivalenceLinkAnnotations, boolean checkForExistingEquivalent) throws WTException
      Creates equivalent link between sourcepaths's leaf and DownPath leaf if no link exist between them and sets annotaions on link. Upstream context and Downstream Context for Equivalence link are set from First view of navigation criteria.

      Supported API: true
      Parameters:
      sourceAssociativePaths -
      downstreamAssociativePath -
      context -
      equivalenceLinkAnnotations -
      checkForExistingEquivalent - if this flag is true then it checks for existing links with current and predecessors. if link exist then new link is not created.
      Returns:
      Throws:
      WTException