|Modifier and Type||Method and Description|
Contains the logic to execute for a job which did not complete successfully.
Contains the logic to execute for a job which completed successfully.
JobInputSupplier init(JobInitContext context)
JobInputSupplier. The returned
JobInputSupplierobject contains a list of
JobItemsseparated into smaller chunks of data called
JobInputSupplierobjects can be retrieved through
You cannot call this method before the job has started.
context- JobInitContext object which contains the parameters of this Job
void process(JobProcessContext context)
Job. Job logic is implemented inside this method. This method will run once per
Calls to this method may be executed in parallel across chunks, so sequence is not guaranteed.
Each process call will be given a smaller chunk of data through
You cannot call this method before calling
JobProcessContextobject containing the chunk of work to process
void completeWithSuccess(JobCompletionContext context)
This method is only called if all tasks are processed and have a
void completeWithError(JobCompletionContext context)
This method is only called if all tasks are processed and one or more tasks has a
Copyright © Veeva Systems 2017–2020. All rights reserved.