BatchableContext Interface
Represents the parameter type of a batch job method and contains the batch job ID. This interface is implemented internally by Apex.
See Also
The following are methods for BatchableContext.
-
Returns the ID of the current batch job chunk that is being processed.
-
Returns the batch job ID.
Returns the ID of the current batch job chunk that is being processed.
public Id getChildJobId()
Type: ID
Returns the batch job ID.
public Id getJobId()
Type: ID