public static class FastSyncInfoFilter.SyncInfoChangeTypeFilter extends FastSyncInfoFilter
SyncInfo whose change type match those of the filter.FastSyncInfoFilter.AndSyncInfoFilter, FastSyncInfoFilter.AutomergableFilter, FastSyncInfoFilter.CompoundSyncInfoFilter, FastSyncInfoFilter.OrSyncInfoFilter, FastSyncInfoFilter.PseudoConflictFilter, FastSyncInfoFilter.SyncInfoChangeTypeFilter, FastSyncInfoFilter.SyncInfoDirectionFilterSyncInfoFilter.ContentComparisonSyncInfoFilter| Constructor and Description |
|---|
FastSyncInfoFilter.SyncInfoChangeTypeFilter(int change)
Create a filter that will match
SyncInfo whose change type
match that passed as an argument to this constructor. |
FastSyncInfoFilter.SyncInfoChangeTypeFilter(int[] changeFilters)
Create a filter that will match
SyncInfo whose change type
match those passed as arguments to this constructor. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
select(SyncInfo info)
Return whether the provided
SyncInfo matches the filter. |
getDirectionAndChangeFilter, selectpublic FastSyncInfoFilter.SyncInfoChangeTypeFilter(int[] changeFilters)
SyncInfo whose change type
match those passed as arguments to this constructor.changeFilters - the array of change types (SyncInfo.ADDITION,
SyncInfo.DELETION and SyncInfo.CHANGE) that this filter matchpublic FastSyncInfoFilter.SyncInfoChangeTypeFilter(int change)
SyncInfo whose change type
match that passed as an argument to this constructor.change - the change type (SyncInfo.ADDITION,
SyncInfo.DELETION and SyncInfo.CHANGE) that this filter matchespublic boolean select(SyncInfo info)
FastSyncInfoFilterSyncInfo matches the filter. The default
behavior it to include resources whose syncKind is non-zero.select in class FastSyncInfoFilterinfo - the SyncInfo being testedtrue if the SyncInfo matches the filterGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.