Class GcsInboundFileSynchronizer

java.lang.Object
org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<com.google.cloud.storage.BlobInfo>
com.google.cloud.spring.storage.integration.inbound.GcsInboundFileSynchronizer
All Implemented Interfaces:
Closeable, AutoCloseable, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.integration.file.remote.synchronizer.InboundFileSynchronizer

@ImportRuntimeHints(StorageIntegrationRuntimeHint.class) public class GcsInboundFileSynchronizer extends org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<com.google.cloud.storage.BlobInfo>
An inbound file synchronizer for Google Cloud Storage.
  • Field Summary

    Fields inherited from class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer

    EXPRESSION_PARSER, logger
  • Constructor Summary

    Constructors
    Constructor
    Description
    GcsInboundFileSynchronizer(com.google.cloud.storage.Storage gcs)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    getFilename(com.google.cloud.storage.BlobInfo file)
     
    protected long
    getModified(com.google.cloud.storage.BlobInfo file)
     
    protected boolean
    isFile(com.google.cloud.storage.BlobInfo file)
     
    protected String
     

    Methods inherited from class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer

    afterPropertiesSet, close, copyFileToLocalDirectory, doInit, doSetFilter, doSetRemoteDirectoryExpression, filterFiles, getComparator, getRemoteFileMetadata, getTemporaryFileSuffix, removeRemoteFileMetadata, rollbackFromFileToListEnd, setBeanFactory, setBeanName, setComparator, setDeleteRemoteFiles, setFilter, setLocalFilenameGeneratorExpression, setLocalFilenameGeneratorExpressionString, setMetadataStorePrefix, setPreserveTimestamp, setRemoteDirectory, setRemoteDirectoryExpression, setRemoteDirectoryExpressionString, setRemoteFileMetadataStore, setRemoteFileSeparator, setTemporaryFileSuffix, synchronizeToLocalDirectory, synchronizeToLocalDirectory

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GcsInboundFileSynchronizer

      public GcsInboundFileSynchronizer(com.google.cloud.storage.Storage gcs)
  • Method Details

    • isFile

      protected boolean isFile(com.google.cloud.storage.BlobInfo file)
      Specified by:
      isFile in class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<com.google.cloud.storage.BlobInfo>
    • getFilename

      protected String getFilename(com.google.cloud.storage.BlobInfo file)
      Specified by:
      getFilename in class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<com.google.cloud.storage.BlobInfo>
    • getModified

      protected long getModified(com.google.cloud.storage.BlobInfo file)
      Specified by:
      getModified in class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<com.google.cloud.storage.BlobInfo>
    • protocol

      protected String protocol()
      Specified by:
      protocol in class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<com.google.cloud.storage.BlobInfo>