public static class FastSyncInfoFilter.SyncInfoDirectionFilter extends FastSyncInfoFilter
SyncInfo whose change direction match those of the filter.FastSyncInfoFilter.AndSyncInfoFilter, FastSyncInfoFilter.AutomergableFilter, FastSyncInfoFilter.CompoundSyncInfoFilter, FastSyncInfoFilter.OrSyncInfoFilter, FastSyncInfoFilter.PseudoConflictFilter, FastSyncInfoFilter.SyncInfoChangeTypeFilter, FastSyncInfoFilter.SyncInfoDirectionFilterSyncInfoFilter.ContentComparisonSyncInfoFilter| Constructor and Description |
|---|
FastSyncInfoFilter.SyncInfoDirectionFilter(int direction)
Create a filter that will match
SyncInfo whose change direction
match that passed as arguments to this constructor. |
FastSyncInfoFilter.SyncInfoDirectionFilter(int[] directionFilters)
Create a filter that will match
SyncInfo whose change direction
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.SyncInfoDirectionFilter(int[] directionFilters)
SyncInfo whose change direction
match those passed as arguments to this constructor.directionFilters - the array of change directions (SyncInfo.OUTGOING,
SyncInfo.INCOMING and SyncInfo.CONFLICTING) that this filter matchpublic FastSyncInfoFilter.SyncInfoDirectionFilter(int direction)
SyncInfo whose change direction
match that passed as arguments to this constructor.direction - the change direction (SyncInfo.OUTGOING,
SyncInfo.INCOMING and SyncInfo.CONFLICTING) 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.