クラスの使用
org.springframework.batch.core.JobParametersInvalidException
JobParametersInvalidException を使用するパッケージ
パッケージ
説明
ジョブ、ステップ、構成、実行の抽象化をカバーする Spring Batch のコアドメインコンテキスト。
ジョブ関心事の特定実装。
起動に関する関心事のインターフェースと簡単な実装。
ブートストラップで使用するクラスをサポートし、実装または構成を起動します。
org.springframework.batch.core 内の JobParametersInvalidException 使用
修飾子と型メソッド説明voidJobParametersValidator.validate(JobParameters parameters) パラメーターが適切な要件を満たしていることを確認し、そうでない場合は例外をスローします。org.springframework.batch.core.job 内の JobParametersInvalidException 使用
修飾子と型メソッド説明voidCompositeJobParametersValidator.validate(JobParameters parameters) 挿入された JobParameterValidators に従って JobParameters を検証します。検証が停止し、最初の検証エラーで例外がスローされます。voidDefaultJobParametersValidator.validate(JobParameters parameters) パラメーターが提供された仕様を満たしていることを確認してください。org.springframework.batch.core.launch 内の JobParametersInvalidException 使用
修飾子と型メソッド説明JobOperator.restart(long executionId) 失敗または停止したJobExecutionを再起動します。JobLauncher.run(Job job, JobParameters jobParameters) 指定されたJobおよびJobParametersのジョブ実行を開始します。非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。default LongSEJobOperator.start(StringSE jobName, PropertiesSE parameters) 指定されたパラメーターを使用して、ジョブの新しいインスタンスを開始します。JobOperator.startNextInstance(StringSE jobName) 指定されたジョブに接続されたJobParametersIncrementerによって決定されるJobInstanceのシーケンスで次を起動します。org.springframework.batch.core.launch.support 内の JobParametersInvalidException 使用
修飾子と型メソッド説明SimpleJobOperator.restart(long executionId) SimpleJobLauncher.run(Job job, JobParameters jobParameters) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。指定されたJobParametersで指定されたジョブを実行します。TaskExecutorJobLauncher.run(Job job, JobParameters jobParameters) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。SimpleJobOperator.start(StringSE jobName, PropertiesSE parameters) SimpleJobOperator.startNextInstance(StringSE jobName)
JobOperator.start(String, Properties)を使用してください。