Class FolderConflictResolver
java.lang.Object
wt.ixb.conflictFramework.conflictResolution.resolver.IXAbstractConflictResolver
wt.ixb.conflictFramework.conflictResolution.resolver.IXGenericConflictResolver
wt.ixb.conflictFramework.conflictResolution.resolver.IXDefaultConflictResolver
wt.ixb.conflictFramework.conflictResolution.resolver.IXMultiObjectConflictResolver
wt.ixb.conflictFramework.conflictResolution.resolver.FolderConflictResolver
- All Implemented Interfaces:
IXConflictResolverIfc
The Folder conflict resolver. It handles all the conflicts related to a folder.
Supported API: true
Extendable: true
- Default resolution:
- Default resolution as per importer.
- Available resolution:
- Default resolution as per importer.
- Use a default value as specified through a property.
- Use the OIR and let the system choose an appropriate folder.
- Carry forward values from previous iteration on the same version.
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionresolve(ResolutionType resolutionType, IxbElement fileXML, Importer importer, Object[] arguments) Tries to resolve the conflict using the provided resolution.protected ObjectresolveFolderConflictWithDefaultValue(IxbElement fileXML, Importer importer, Object[] arguments) Use a default value as specified through a property.protected ObjectresolveFolderConflictWithOIR(IxbElement fileXML, Importer importer, Object[] arguments) Use the OIR and let the system choose an appropriate folder.protected ObjectresolveFolderConflictWithPreviousIteration(IxbElement fileXML, Importer importer, Object[] arguments) Carry forward values from previous iteration on the same version.Methods inherited from class wt.ixb.conflictFramework.conflictResolution.resolver.IXGenericConflictResolver
skipObjectImportResolution
-
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 'DEFAULT_VALUE_FOLDER' or 'OIR_FOLDER' or 'FROM_PREVIOUS_ITERATION_FOLDER', resolves it else, delegates the task to the super class.
Supported API: true- Specified by:
resolvein interfaceIXConflictResolverIfc- Overrides:
resolvein classIXDefaultConflictResolver- 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:
-
resolveFolderConflictWithDefaultValue
protected Object resolveFolderConflictWithDefaultValue(IxbElement fileXML, Importer importer, Object[] arguments) throws WTException Use a default value as specified through a property.
Supported API: true- Parameters:
fileXML- The IxbElement.importer- Importer context.arguments- Object[], arguments for resolver.- Returns:
- TRUE if resolved successfully, else FALSE.
- Throws:
WTException
-
resolveFolderConflictWithOIR
protected Object resolveFolderConflictWithOIR(IxbElement fileXML, Importer importer, Object[] arguments) throws WTException Use the OIR and let the system choose an appropriate folder.
Supported API: true- Parameters:
fileXML- The IxbElement.importer- Importer context.arguments- Object[], arguments for resolver.- Returns:
- TRUE if resolved successfully, else FALSE.
- Throws:
WTException
-
resolveFolderConflictWithPreviousIteration
protected Object resolveFolderConflictWithPreviousIteration(IxbElement fileXML, Importer importer, Object[] arguments) throws WTException Carry forward values from previous iteration on the same version.
Supported API: true- Parameters:
fileXML- The IxbElement.importer- Importer context.arguments- Object[], arguments for resolver.- Returns:
- TRUE if resolved successfully, else FALSE.
- Throws:
WTException
-