Class FastSyncInfoFilter.AndSyncInfoFilter

Enclosing class:
FastSyncInfoFilter

public static class FastSyncInfoFilter.AndSyncInfoFilter extends FastSyncInfoFilter.CompoundSyncInfoFilter
Selects SyncInfo which match all child filters.
  • Constructor Details

    • AndSyncInfoFilter

      public AndSyncInfoFilter(FastSyncInfoFilter[] filters)
      Create an AND filter from the given filters
      Parameters:
      filters - the filters to be ANDed
  • Method Details

    • 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