public class RemoteStepExecutionAggregator extends java.lang.Object implements StepExecutionAggregator, org.springframework.beans.factory.InitializingBean
StepExecution
インスタンスのセットを集約するためのコンビニエンスクラス。データはリポジトリからリフレッシュする必要があります。コンストラクターと説明 |
---|
RemoteStepExecutionAggregator() 新しいインスタンスを作成します(構成の目的で役立ちます)。 |
RemoteStepExecutionAggregator(JobExplorer jobExplorer) 集約時にデータをリフレッシュするために使用できるジョブエクスプローラーを使用して、新しいインスタンスを作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
void | afterPropertiesSet() |
void | aggregate(StepExecution result, java.util.Collection<StepExecution> executions) 入力が JobExplorer からリフレッシュされると、入力の実行を結果 StepExecution に集約し、デリゲートアグリゲーターに委譲します。 |
void | setDelegate(StepExecutionAggregator delegate) |
void | setJobExplorer(JobExplorer jobExplorer) |
public RemoteStepExecutionAggregator()
public RemoteStepExecutionAggregator(JobExplorer jobExplorer)
jobExplorer
- 使用する JobExplorer
public void setJobExplorer(JobExplorer jobExplorer)
jobExplorer
- 設定する jobExplorerpublic void setDelegate(StepExecutionAggregator delegate)
delegate
- 設定するデリゲート public void afterPropertiesSet() throws java.lang.Exception
org.springframework.beans.factory.InitializingBean
の afterPropertiesSet
java.lang.Exception
- ジョブエクスプローラーが提供されていない場合 public void aggregate(StepExecution result, java.util.Collection<StepExecution> executions)
JobExplorer
からリフレッシュされると、入力の実行を結果 StepExecution
に集約し、デリゲートアグリゲーターに委譲します。StepExecutionAggregator
の aggregate
result
- 上書きする結果 executions
- 入力 #aggregate(StepExecution, Collection)