-
Notifications
You must be signed in to change notification settings - Fork 13
QueueableProcessDataProvider
codefriar edited this page Oct 5, 2023
·
2 revisions
STATUS: ACTIVE
A class that separates concerns between the QueueableProcessManager and doing data lookup/access. This helps us mock the data access in our unit tests.
SUPPRESSWARNINGS
default constructor. Necessary for dynamic instantiation.
This is the main method that will be called by the QueueableProcessManager. By extracting this method into a separate class, we can easily mock it in our unit tests.
Param | Description |
---|---|
jobId |
Id The Id of the AsyncApexJob record that is being processed. |
Type | Description |
---|---|
String | String The name of the Apex class that just failed. |