Class FastSyncInfoFilter.SyncInfoDirectionFilter
java.lang.Object
org.eclipse.team.core.synchronize.SyncInfoFilter
org.eclipse.team.core.synchronize.FastSyncInfoFilter
org.eclipse.team.core.synchronize.FastSyncInfoFilter.SyncInfoDirectionFilter
- Enclosing class:
FastSyncInfoFilter
Selects
SyncInfo whose change direction match those of the filter.-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.team.core.synchronize.FastSyncInfoFilter
FastSyncInfoFilter.AndSyncInfoFilter, FastSyncInfoFilter.AutomergableFilter, FastSyncInfoFilter.CompoundSyncInfoFilter, FastSyncInfoFilter.OrSyncInfoFilter, FastSyncInfoFilter.PseudoConflictFilter, FastSyncInfoFilter.SyncInfoChangeTypeFilter, FastSyncInfoFilter.SyncInfoDirectionFilterNested classes/interfaces inherited from class org.eclipse.team.core.synchronize.SyncInfoFilter
SyncInfoFilter.ContentComparisonSyncInfoFilter -
Constructor Summary
ConstructorsConstructorDescriptionSyncInfoDirectionFilter(int direction) Create a filter that will matchSyncInfowhose change direction match that passed as arguments to this constructor.SyncInfoDirectionFilter(int[] directionFilters) Create a filter that will matchSyncInfowhose change direction match those passed as arguments to this constructor. -
Method Summary
Methods inherited from class org.eclipse.team.core.synchronize.FastSyncInfoFilter
getDirectionAndChangeFilter, select
-
Constructor Details
-
SyncInfoDirectionFilter
public SyncInfoDirectionFilter(int[] directionFilters) Create a filter that will matchSyncInfowhose change direction match those passed as arguments to this constructor.- Parameters:
directionFilters- the array of change directions (SyncInfo.OUTGOING,SyncInfo.INCOMINGandSyncInfo.CONFLICTING) that this filter match
-
SyncInfoDirectionFilter
public SyncInfoDirectionFilter(int direction) Create a filter that will matchSyncInfowhose change direction match that passed as arguments to this constructor.- Parameters:
direction- the change direction (SyncInfo.OUTGOING,SyncInfo.INCOMINGandSyncInfo.CONFLICTING) that this filter matches
-
-
Method Details
-
select
Description copied from class:FastSyncInfoFilterReturn whether the providedSyncInfomatches the filter. The default behavior it to include resources whose syncKind is non-zero.- Overrides:
selectin classFastSyncInfoFilter- Parameters:
info- theSyncInfobeing tested- Returns:
trueif theSyncInfomatches the filter
-