All Implemented Interfaces:
IXConflictResolverIfc

public class VersionResolver extends IXMultiObjectConflictResolver
The version related resolver. It handles all the conflicts related version.
  • Default resolution:
    • Default resolution as per importer.
  • Available resolution:
    • Default resolution as per importer.
    • Use position based determination of version label.
    • Use the OIR and let the system choose an appropriate Version series.


Supported API: true

Extendable: true
  • Method Details

    • resolve

      public Object resolve(ResolutionType resolutionType, IxbElement fileXML, Importer importer, Object[] arguments) throws WTException
      Tries to resolve the conflict using the provided resolution. If the resolution is of type 'POSITION_BASED_VERSION' or 'OIR_VERSION', resolves it else, delegates the task to the super class.

      Supported API: true
      Specified by:
      resolve in interface IXConflictResolverIfc
      Overrides:
      resolve in class IXDefaultConflictResolver
      Parameters:
      resolutionType - The resolution type.
      fileXML - The IxbElement.
      importer - The context.
      arguments - Object[], arguments for resolver.
      Returns:
      Object, Any object if required to be returned or else a Boolean for success or failure.
      Throws:
      WTException
      See Also:
    • resolveVersionConflictWithPositionBased

      protected Object resolveVersionConflictWithPositionBased(IxbElement fileXML, Importer importer, Object[] arguments) throws WTException
      Use position based determination of version label.

      Supported API: true
      Parameters:
      fileXML - The IxbElement.
      importer - Importer context.
      arguments - Object[], arguments for resolver.
      Returns:
      TRUE if resolved successfully, else FALSE.
      Throws:
      WTException
    • resolveVersionConflictWithOIR

      protected Object resolveVersionConflictWithOIR(IxbElement fileXML, Importer importer, Object[] arguments) throws WTException
      Use the OIR and let the system choose an appropriate Version series.

      Supported API: true
      Parameters:
      fileXML - The IxbElement.
      importer - Importer context.
      arguments - Object[], arguments for resolver.
      Returns:
      TRUE if resolved successfully, else FALSE.
      Throws:
      WTException