public interface IMergeStatus extends IStatus
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.
This interface is not intended to be implemented by clients.
IResourceMappingMerger
,
MergeStatus
Modifier and Type | Field and Description |
---|---|
static int |
CONFLICTS
Indicates that a change conflict prevented some or all of the resource
mappings to be merged (value
1 ). |
static int |
INTERNAL_ERROR
Status code describing an internal error (value
2 ). |
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
static final int CONFLICTS
1
). When this code is
returned, the status must be of type
MergeStatus
and must contain the list of all
resource mappings for which a manual merge is required.static final int INTERNAL_ERROR
2
).
The status return is not required to be of type MergeStatus
for internal errors.ResourceMapping[] getConflictingMappings()
CONFLICTS
the status may contain a set of mappings or files depending
on what method returned the status.IFile[] getConflictingFiles()
CONFLICTS
the status may contain a set of mappings or files depending
on what method returned the status.Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.