Class MergeStatus
java.lang.Object
org.eclipse.core.runtime.Status
org.eclipse.team.core.mapping.provider.MergeStatus
- All Implemented Interfaces:
- IStatus,- IMergeStatus
A special status that is returned when the return code
 of the 
merge method is CONFLICTS.
 It is possible that there were problems that caused the
 auto-merge to fail. In that case, the implementor of
 IResourceMappingMerger can return a multi-status
 in which one of the children is a MergeStatus and
 the others describe other problems that were encountered.- Since:
- 3.2
- See Also:
- 
Field SummaryFields inherited from class org.eclipse.core.runtime.StatusCANCEL_STATUS, OK_STATUSFields inherited from interface org.eclipse.team.core.mapping.IMergeStatusCONFLICTS, INTERNAL_ERROR
- 
Constructor SummaryConstructorsConstructorDescriptionMergeStatus(String pluginId, String message, IFile[] files) Create a merge status for reporting that some of the files for which a merge was attempted were not auto-mergable.MergeStatus(String pluginId, String message, ResourceMapping[] conflictingMappings) Create a merge status for reporting that some of the resource mappings for which a merge was attempted were not auto-mergable.
- 
Method SummaryModifier and TypeMethodDescriptionIFile[]Returns the set of file for which an auto-merge was not performed.Returns the set of resource mappings for which an auto-merge was not performed.Methods inherited from class org.eclipse.core.runtime.Statuserror, error, getChildren, getCode, getException, getMessage, getPlugin, getSeverity, info, isMultiStatus, isOK, matches, setCode, setException, setMessage, setPlugin, setSeverity, toString, warning, warningMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.core.runtime.IStatusgetChildren, getCode, getException, getMessage, getPlugin, getSeverity, isMultiStatus, isOK, matches
- 
Constructor Details- 
MergeStatusCreate a merge status for reporting that some of the resource mappings for which a merge was attempted were not auto-mergable.- Parameters:
- pluginId- the plugin id
- message- the message for the status
- conflictingMappings- the mappings which were not auto-mergable
 
- 
MergeStatusCreate a merge status for reporting that some of the files for which a merge was attempted were not auto-mergable.- Parameters:
- pluginId- the plugin id
- message- the message for the status
- files- the files which were not auto-mergable
 
 
- 
- 
Method Details- 
getConflictingMappingsDescription copied from interface:IMergeStatusReturns the set of resource mappings for which an auto-merge was not performed. If the code of the status isCONFLICTSthe status may contain a set of mappings or files depending on what method returned the status.- Specified by:
- getConflictingMappingsin interface- IMergeStatus
- Returns:
- the set of resource mappings for which an auto-merge was not performed.
 
- 
getConflictingFilesDescription copied from interface:IMergeStatusReturns the set of file for which an auto-merge was not performed. If the code of the status isCONFLICTSthe status may contain a set of mappings or files depending on what method returned the status.- Specified by:
- getConflictingFilesin interface- IMergeStatus
- Returns:
- the set of files for which an auto-merge was not performed.
 
 
-