public interface BatchJobHandler<T> extends JobHandler<BatchJobConfiguration>
T.
 Used by a seed job to manage lifecycle of execution jobs.| Modifier and Type | Method and Description | 
|---|---|
| boolean | createJobs(BatchEntity batch)Creates batch jobs for a batch. | 
| void | deleteJobs(BatchEntity batch)Delete all jobs for a batch. | 
| JobDeclaration<?,MessageEntity> | getJobDeclaration()Get the job declaration for batch jobs. | 
| T | readConfiguration(byte[] serializedConfiguration)Read the serialized configuration of the batch. | 
| byte[] | writeConfiguration(T configuration)Converts the configuration of the batch to a byte array. | 
execute, getType, newConfiguration, onDeletebyte[] writeConfiguration(T configuration)
configuration - the configuration objectT readConfiguration(byte[] serializedConfiguration)
serializedConfiguration - the serialized configurationJobDeclaration<?,MessageEntity> getJobDeclaration()
boolean createJobs(BatchEntity batch)
batch - the batch to create jobs forvoid deleteJobs(BatchEntity batch)
batch - the batch to delete jobs forCopyright © 2018. All rights reserved.