Eclipse Platform
Release 3.0

org.eclipse.team.core.synchronize
Class FastSyncInfoFilter.SyncInfoDirectionFilter

java.lang.Object
  extended byorg.eclipse.team.core.synchronize.SyncInfoFilter
      extended byorg.eclipse.team.core.synchronize.FastSyncInfoFilter
          extended byorg.eclipse.team.core.synchronize.FastSyncInfoFilter.SyncInfoDirectionFilter
Enclosing class:
FastSyncInfoFilter

public static class FastSyncInfoFilter.SyncInfoDirectionFilter
extends FastSyncInfoFilter

Selects SyncInfo whose change direction match those of the filter.


Nested Class Summary
 
Nested classes 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 inherited from class org.eclipse.team.core.synchronize.SyncInfoFilter
SyncInfoFilter.ContentComparisonSyncInfoFilter
 
Constructor Summary
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.
 
Method Summary
 boolean select(SyncInfo info)
          Return whether the provided SyncInfo matches the filter.
 
Methods inherited from class org.eclipse.team.core.synchronize.FastSyncInfoFilter
getDirectionAndChangeFilter, select
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FastSyncInfoFilter.SyncInfoDirectionFilter

public FastSyncInfoFilter.SyncInfoDirectionFilter(int[] directionFilters)
Create a filter that will match SyncInfo whose change direction match those passed as arguments to this constructor.

Parameters:
directionFilters - the array of change directions (SyncInfo.OUTGOING, SyncInfo.INCOMING and SyncInfo.CONFLICTING) that this filter match

FastSyncInfoFilter.SyncInfoDirectionFilter

public FastSyncInfoFilter.SyncInfoDirectionFilter(int direction)
Create a filter that will match SyncInfo whose change direction match that passed as arguments to this constructor.

Parameters:
direction - the change direction (SyncInfo.OUTGOING, SyncInfo.INCOMING and SyncInfo.CONFLICTING) that this filter matches
Method Detail

select

public boolean select(SyncInfo info)
Description copied from class: FastSyncInfoFilter
Return whether the provided SyncInfo matches the filter. The default behavior it to include resources whose syncKind is non-zero.

Overrides:
select in class FastSyncInfoFilter
Parameters:
info - the SyncInfo being tested
Returns:
true if the SyncInfo matches the filter

Eclipse Platform
Release 3.0

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.