Class GcsPersistentAcceptOnceFileListFilter

java.lang.Object
org.springframework.integration.file.filters.AbstractFileListFilter<F>
org.springframework.integration.file.filters.AbstractDirectoryAwareFileListFilter<F>
org.springframework.integration.file.filters.AbstractPersistentAcceptOnceFileListFilter<com.google.cloud.storage.BlobInfo>
com.google.cloud.spring.storage.integration.filters.GcsPersistentAcceptOnceFileListFilter
All Implemented Interfaces:
Closeable, AutoCloseable, org.springframework.integration.file.filters.FileListFilter<com.google.cloud.storage.BlobInfo>, org.springframework.integration.file.filters.ResettableFileListFilter<com.google.cloud.storage.BlobInfo>, org.springframework.integration.file.filters.ReversibleFileListFilter<com.google.cloud.storage.BlobInfo>

public class GcsPersistentAcceptOnceFileListFilter extends org.springframework.integration.file.filters.AbstractPersistentAcceptOnceFileListFilter<com.google.cloud.storage.BlobInfo>
A filter for Google Cloud Storage.
  • Field Summary

    Fields inherited from class org.springframework.integration.file.filters.AbstractPersistentAcceptOnceFileListFilter

    flushableStore, flushOnUpdate, prefix, store
  • Constructor Summary

    Constructors
    Constructor
    Description
    GcsPersistentAcceptOnceFileListFilter(org.springframework.integration.metadata.ConcurrentMetadataStore store, String prefix)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    fileName(com.google.cloud.storage.BlobInfo blobInfo)
     
    protected boolean
    isDirectory(com.google.cloud.storage.BlobInfo blobInfo)
     
    protected long
    modified(com.google.cloud.storage.BlobInfo blobInfo)
     

    Methods inherited from class org.springframework.integration.file.filters.AbstractPersistentAcceptOnceFileListFilter

    accept, buildKey, close, fileStillExists, flushIfNeeded, isEqual, remove, rollback, setFlushOnUpdate

    Methods inherited from class org.springframework.integration.file.filters.AbstractDirectoryAwareFileListFilter

    alwaysAccept, isForRecursion, setAlwaysAcceptDirectories, setForRecursion

    Methods inherited from class org.springframework.integration.file.filters.AbstractFileListFilter

    filterFiles, supportsSingleFileFiltering

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.integration.file.filters.FileListFilter

    filterFiles, isForRecursion, supportsSingleFileFiltering
  • Constructor Details

    • GcsPersistentAcceptOnceFileListFilter

      public GcsPersistentAcceptOnceFileListFilter(org.springframework.integration.metadata.ConcurrentMetadataStore store, String prefix)
  • Method Details

    • modified

      protected long modified(com.google.cloud.storage.BlobInfo blobInfo)
      Specified by:
      modified in class org.springframework.integration.file.filters.AbstractPersistentAcceptOnceFileListFilter<com.google.cloud.storage.BlobInfo>
    • fileName

      protected String fileName(com.google.cloud.storage.BlobInfo blobInfo)
      Specified by:
      fileName in class org.springframework.integration.file.filters.AbstractPersistentAcceptOnceFileListFilter<com.google.cloud.storage.BlobInfo>
    • isDirectory

      protected boolean isDirectory(com.google.cloud.storage.BlobInfo blobInfo)
      Overrides:
      isDirectory in class org.springframework.integration.file.filters.AbstractPersistentAcceptOnceFileListFilter<com.google.cloud.storage.BlobInfo>