|
Eclipse Platform Release 3.2 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.runtime.Status
org.eclipse.team.core.mapping.provider.MergeStatus
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.
IResourceMappingMerger
Field Summary |
---|
Fields inherited from class org.eclipse.core.runtime.Status |
---|
CANCEL_STATUS, OK_STATUS |
Fields inherited from interface org.eclipse.team.core.mapping.IMergeStatus |
---|
CONFLICTS, INTERNAL_ERROR |
Fields inherited from interface org.eclipse.core.runtime.IStatus |
---|
CANCEL, ERROR, INFO, OK, WARNING |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.eclipse.core.runtime.Status |
---|
getChildren, getCode, getException, getMessage, getPlugin, getSeverity, isMultiStatus, isOK, matches, setCode, setException, setMessage, setPlugin, setSeverity, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.core.runtime.IStatus |
---|
getChildren, getCode, getException, getMessage, getPlugin, getSeverity, isMultiStatus, isOK, matches |
Constructor Detail |
public 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-mergableMethod Detail |
public ResourceMapping[] getConflictingMappings()
IMergeStatus
CONFLICTS
the status may contain a set of mappings or files depending
on what method returned the status.
getConflictingMappings
in interface IMergeStatus
public IFile[] getConflictingFiles()
IMergeStatus
CONFLICTS
the status may contain a set of mappings or files depending
on what method returned the status.
getConflictingFiles
in interface IMergeStatus
|
Eclipse Platform Release 3.2 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.