Class FastSyncInfoFilter.OrSyncInfoFilter

Enclosing class:
FastSyncInfoFilter

public static class FastSyncInfoFilter.OrSyncInfoFilter extends FastSyncInfoFilter.CompoundSyncInfoFilter
Selects SyncInfo that match any of the child filters.
  • Constructor Details

    • OrSyncInfoFilter

      public OrSyncInfoFilter(FastSyncInfoFilter[] filters)
      Create an OR filter from the given filters
      Parameters:
      filters - the filters to be ORed
  • 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