Class FastSyncInfoFilter.OrSyncInfoFilter
- java.lang.Object
-
- org.eclipse.team.core.synchronize.SyncInfoFilter
-
- org.eclipse.team.core.synchronize.FastSyncInfoFilter
-
- org.eclipse.team.core.synchronize.FastSyncInfoFilter.CompoundSyncInfoFilter
-
- org.eclipse.team.core.synchronize.FastSyncInfoFilter.OrSyncInfoFilter
-
- Enclosing class:
- FastSyncInfoFilter
public static class FastSyncInfoFilter.OrSyncInfoFilter extends FastSyncInfoFilter.CompoundSyncInfoFilter
SelectsSyncInfo
that match any of the child filters.
-
-
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
-
-
Field Summary
-
Fields inherited from class org.eclipse.team.core.synchronize.FastSyncInfoFilter.CompoundSyncInfoFilter
filters
-
-
Constructor Summary
Constructors Constructor Description OrSyncInfoFilter(FastSyncInfoFilter[] filters)
Create an OR filter from the given filters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
select(SyncInfo info)
Return whether the providedSyncInfo
matches the filter.-
Methods inherited from class org.eclipse.team.core.synchronize.FastSyncInfoFilter
getDirectionAndChangeFilter, select
-
-
-
-
Constructor Detail
-
OrSyncInfoFilter
public OrSyncInfoFilter(FastSyncInfoFilter[] filters)
Create an OR filter from the given filters- Parameters:
filters
- the filters to be ORed
-
-
Method Detail
-
select
public boolean select(SyncInfo info)
Description copied from class:FastSyncInfoFilter
Return whether the providedSyncInfo
matches the filter. The default behavior it to include resources whose syncKind is non-zero.- Overrides:
select
in classFastSyncInfoFilter
- Parameters:
info
- theSyncInfo
being tested- Returns:
true
if theSyncInfo
matches the filter
-
-