public class MergeStatus extends Status implements IMergeStatus
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.IResourceMappingMergerCANCEL_STATUS, OK_STATUSCONFLICTS, INTERNAL_ERROR| Constructor and Description |
|---|
MergeStatus(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.
|
| Modifier and Type | Method and Description |
|---|---|
IFile[] |
getConflictingFiles()
Returns the set of file for which an auto-merge was
not performed.
|
ResourceMapping[] |
getConflictingMappings()
Returns the set of resource mappings for which an auto-merge was
not performed.
|
getChildren, getCode, getException, getMessage, getPlugin, getSeverity, isMultiStatus, isOK, matches, setCode, setException, setMessage, setPlugin, setSeverity, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChildren, getCode, getException, getMessage, getPlugin, getSeverity, isMultiStatus, isOK, matchespublic MergeStatus(String pluginId, String message, ResourceMapping[] conflictingMappings)
pluginId - the plugin idmessage - the message for the statusconflictingMappings - the mappings which were not auto-mergablepublic MergeStatus(String pluginId, String message, IFile[] files)
pluginId - the plugin idmessage - the message for the statusfiles - the files which were not auto-mergablepublic ResourceMapping[] getConflictingMappings()
IMergeStatusCONFLICTS
the status may contain a set of mappings or files depending
on what method returned the status.getConflictingMappings in interface IMergeStatuspublic IFile[] getConflictingFiles()
IMergeStatusCONFLICTS
the status may contain a set of mappings or files depending
on what method returned the status.getConflictingFiles in interface IMergeStatusGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.