Eclipse Platform
Release 3.0

org.eclipse.team.core.synchronize
Class SyncInfo

java.lang.Object
  extended byorg.eclipse.team.core.synchronize.SyncInfo
All Implemented Interfaces:
IAdaptable

public class SyncInfo
extends Object
implements IAdaptable

Describes the synchronization of a local resource relative to a remote resource variant. There are two types of comparison: two-way and three-way. The IResourceVariantComparator is used to decide which comparison type to use.

For two-way comparisons, a SyncInfo node has a change type. This will be one of IN-SYNC, ADDITION, DELETION or CHANGE determined in the following manner.

For three-way comparisons, the sync info node has a direction as well as a change type. The direction is one of INCOMING, OUTGOING or CONFLICTING. The comparison of the local and remote resources with a base resource is used to determine the direction of the change.