Class FastSyncInfoFilter.SyncInfoChangeTypeFilter
- java.lang.Object
-
- org.eclipse.team.core.synchronize.SyncInfoFilter
-
- org.eclipse.team.core.synchronize.FastSyncInfoFilter
-
- org.eclipse.team.core.synchronize.FastSyncInfoFilter.SyncInfoChangeTypeFilter
-
- Enclosing class:
- FastSyncInfoFilter
public static class FastSyncInfoFilter.SyncInfoChangeTypeFilter extends FastSyncInfoFilter
SelectsSyncInfowhose change type 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.SyncInfoDirectionFilter
-
Nested classes/interfaces inherited from class org.eclipse.team.core.synchronize.SyncInfoFilter
SyncInfoFilter.ContentComparisonSyncInfoFilter
-
-
Constructor Summary
Constructors Constructor Description SyncInfoChangeTypeFilter(int change)Create a filter that will matchSyncInfowhose change type match that passed as an argument to this constructor.SyncInfoChangeTypeFilter(int[] changeFilters)Create a filter that will matchSyncInfowhose change type match those passed as arguments to this constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanselect(SyncInfo info)Return whether the providedSyncInfomatches the filter.-
Methods inherited from class org.eclipse.team.core.synchronize.FastSyncInfoFilter
getDirectionAndChangeFilter, select
-
-
-
-
Constructor Detail
-
SyncInfoChangeTypeFilter
public SyncInfoChangeTypeFilter(int[] changeFilters)
Create a filter that will matchSyncInfowhose change type match those passed as arguments to this constructor.- Parameters:
changeFilters- the array of change types (SyncInfo.ADDITION,SyncInfo.DELETIONandSyncInfo.CHANGE) that this filter match
-
SyncInfoChangeTypeFilter
public SyncInfoChangeTypeFilter(int change)
Create a filter that will matchSyncInfowhose change type match that passed as an argument to this constructor.- Parameters:
change- the change type (SyncInfo.ADDITION,SyncInfo.DELETIONandSyncInfo.CHANGE) that this filter matches
-
-
Method Detail
-
select
public boolean select(SyncInfo info)
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
-
-