クラス RemoteFileStreamingInboundChannelAdapterSpec<F,S extends RemoteFileStreamingInboundChannelAdapterSpec<F,S,MS>,MS extends AbstractRemoteFileStreamingMessageSource<F>>

java.lang.ObjectSE
org.springframework.integration.dsl.IntegrationComponentSpec<S,H>
org.springframework.integration.dsl.MessageSourceSpec<S,MS>
org.springframework.integration.file.dsl.RemoteFileStreamingInboundChannelAdapterSpec<F,S,MS>
型パラメーター:
F - ターゲットファイル型。
S - ターゲット RemoteFileStreamingInboundChannelAdapterSpec 実装型。
MS - ターゲット AbstractRemoteFileStreamingMessageSource 実装型。
実装されたすべてのインターフェース:
DisposableBeanFactoryBean<MS>InitializingBeanLifecyclePhasedSmartLifecycleComponentsRegistration
既知の直属サブクラス
FtpStreamingInboundChannelAdapterSpecSftpStreamingInboundChannelAdapterSpecSmbStreamingInboundChannelAdapterSpec

public abstract class RemoteFileStreamingInboundChannelAdapterSpec<F,S extends RemoteFileStreamingInboundChannelAdapterSpec<F,S,MS>,MS extends AbstractRemoteFileStreamingMessageSource<F>> extends MessageSourceSpec<S,MS> implements ComponentsRegistration
導入:
5.0
作成者:
Gary Russell
  • コンストラクターの詳細

    • RemoteFileStreamingInboundChannelAdapterSpec

      public RemoteFileStreamingInboundChannelAdapterSpec()
  • メソッドの詳細

    • remoteFileSeparator

      public S remoteFileSeparator(StringSE remoteFileSeparator)
      リモートシステムで使用されるファイル名パス区切り文字を構成します。デフォルトは "/" です。
      パラメーター:
      remoteFileSeparator - remoteFileSeparator。
      戻り値:
      スペック。
    • remoteDirectory

      public S remoteDirectory(StringSE remoteDirectory)
      リモートディレクトリへの絶対パスを指定します。
      パラメーター:
      remoteDirectory - remoteDirectory。
      戻り値:
      スペック。
      関連事項:
    • remoteDirectory

      public S remoteDirectory(Expression remoteDirectoryExpression)
      リモートディレクトリへの絶対パスに評価される式を指定します。
      パラメーター:
      remoteDirectoryExpression - リモートディレクトリ式。
      戻り値:
      スペック。
    • remoteDirectory

      public S remoteDirectory(FunctionSE<Message<?>,StringSE> remoteDirectoryFunction)
      リモートディレクトリへの絶対パスを判別するために呼び出される関数を指定してください。
      パラメーター:
      remoteDirectoryFunction - リモートディレクトリ機能。
      戻り値:
      スペック。
    • filter

      public S filter(FileListFilter<F> filter)
      FileListFilter をコピーする前に、リモートファイルに適用するように構成します。
      パラメーター:
      filter - フィルター。
      戻り値:
      スペック。
    • filterExpression

      public S filterExpression(StringSE expression)
      ExpressionFileListFilter を構成します。
      パラメーター:
      expression - ファイルフィルタリング用の SpEL 式。
      戻り値:
      スペック。
      関連事項:
    • filterFunction

      public S filterFunction(FunctionSE<F,BooleanSE> filterFunction)
      ExpressionFileListFilter を構成します。
      パラメーター:
      filterFunction - ファイルフィルタリング用の FunctionSE
      戻り値:
      スペック。
      関連事項:
    • maxFetchSize

      public S maxFetchSize(int maxFetchSize)
      フェッチの試行ごとにフェッチされるリモートファイルの最大数を指定します。複数のアプリケーションインスタンスが実行されている場合は、1 つのインスタンスがすべてのファイルを「取得」しないように、少数をお勧めします。
      パラメーター:
      maxFetchSize - 最大フェッチサイズ。
      戻り値:
      スペック。
      関連事項:
    • getComponentsToRegister

      public MapSE<ObjectSE,StringSE> getComponentsToRegister()
      次で指定:
      インターフェース ComponentsRegistrationgetComponentsToRegister 
    • patternFilter

      public abstract S patternFilter(StringSE pattern)
      単純なパターンフィルターを構成します(例: "*.txt" )。
      パラメーター:
      pattern - パターン。
      戻り値:
      スペック。
      関連事項:
    • regexFilter

      public abstract S regexFilter(StringSE regex)
      正規表現パターンフィルターを構成します(例: '[0-9].*。txt')。
      パラメーター:
      regex - 正規表現。
      戻り値:
      スペック。
      関連事項: