DeployCallbackContext Class

Represents context information for a deployment job.

Metadata

After an asynchronous metadata deployment finishes, Salesforce provides an instance ofMetadata.DeployCallbackContext in an asynchronous call to your implementation of handleResult() in your Metadata.DeployCallback class.

The following are methods for DeployCallbackContext.

  • clone()

    Makes a duplicate copy of the Metadata.DeployCallbackContext.

  • getCallbackJobId()

    Gets the asynchronous Apex job ID for the callback job.

Makes a duplicate copy of the Metadata.DeployCallbackContext.

public Object clone()

Type: Object

Gets the asynchronous Apex job ID for the callback job.

public Id getCallbackJobId()

Type: Id