public class PartitionStep extends PartitionStep implements StepLocator
PartitionStep
の拡張。具体的には、この実装は、PartitionReducer
が使用されている場合、必要なライフサイクル呼び出しを PartitionReducer
に追加します。STEP_TYPE_KEY
コンストラクターと説明 |
---|
PartitionStep() |
修飾子と型 | メソッドと説明 |
---|---|
protected void | doExecute(StepExecution stepExecution) 提供された PartitionHandler に実行を委譲します。 |
Step | getStep(java.lang.String stepName) |
java.util.Collection<java.lang.String> | getStepNames() |
void | setPartitionReducer(javax.batch.api.partition.PartitionReducer reducer) |
afterPropertiesSet, getPartitionHandler, getStepExecutionSplitter, setPartitionHandler, setStepExecutionAggregator, setStepExecutionSplitter
close, doExecutionRegistration, doExecutionRelease, execute, getCompositeListener, getJobRepository, getName, getStartLimit, isAllowStartIfComplete, open, registerStepExecutionListener, setAllowStartIfComplete, setBeanName, setJobRepository, setName, setStartLimit, setStepExecutionListeners, toString
public void setPartitionReducer(javax.batch.api.partition.PartitionReducer reducer)
protected void doExecute(StepExecution stepExecution) throws java.lang.Exception
PartitionHandler
に実行を委譲します。ここで渡された StepExecution
は、パーティションの親またはマネージャーの実行になり、PartitionHandler
によって実行された作業の論理グループ化の終了時の状況を要約します。パーティション要素の個々のステップ実行とその入力パラメーター(ExecutionContext
を介して)は、StepExecutionSplitter
によって提供されます。PartitionStep
の doExecute
stepExecution
- パーティションのマネージャーステップの実行 java.lang.Exception
- 実装によってスローされたチェック済み例外 Step.execute(StepExecution)
public java.util.Collection<java.lang.String> getStepNames()
StepLocator
の getStepNames
public Step getStep(java.lang.String stepName) throws NoSuchStepException
StepLocator
の getStep
NoSuchStepException