12.07.2015 Views

Database.com Metadata API Developer's Guide - Salesforce.com

Database.com Metadata API Developer's Guide - Salesforce.com

Database.com Metadata API Developer's Guide - Salesforce.com

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Result ObjectsCancelDeployResultNamesecondsToWaitTypeintDescription<strong>com</strong>ponents being deployed. This field is available in <strong>API</strong> version 16.0and later and is only relevant for the deploy() call.This field is no longer supported for <strong>API</strong> version 13.0 and later and isonly provided for backward <strong>com</strong>patibility. The field was removed in <strong>API</strong>version 17.0.Indicates the number of seconds before the call is likely to <strong>com</strong>plete. Thisis an estimate only. A reasonable approach is to wait one second beforecalling checkStatus() to see if the operation is <strong>com</strong>plete. Double yourwait time for each successive iteration of checkStatus() calls until theoperation is <strong>com</strong>plete.stateAsyncRequestState(enumeration oftype string)Required. The AsyncRequestState object has one of four possiblevalues:• Queued: This call has not started. It is waiting in a queue.• InProgress: This call has started, but has not <strong>com</strong>pleted yet.• Completed: This call has <strong>com</strong>pleted.• Error: An error occurred. See the statusCode for moreinformation.stateDetailstateDetailLastModifiedDatestringdateTimeIndicates which <strong>com</strong>ponent is currently being deployed or which Apextest class is running. This field is available in <strong>API</strong> version 16.0 and laterand is only relevant for the deploy() call.The data and time when the stateDetail field was last modified. Thisfield is available in <strong>API</strong> version 16.0 and later and is only relevant for thedeploy() call.statusCodeStatusCode(enumeration oftype string)If an error occurred during the create(), update(), delete() ordeploy() call, a status code is returned, and the message correspondingto the status code is returned in the message field.For a description of each StatusCode value, see “StatusCode” in the SOAP<strong>API</strong> <strong>Developer's</strong> <strong>Guide</strong>.CancelDeployResultContains information about a deployment cancellation—whether the cancellation <strong>com</strong>pleted and the deployment ID.The asynchronous metadata call cancelDeploy() returns a CancelDeployResult object.VersionAvailable in <strong>API</strong> version 30.0 and later.CancelDeployResult has the following properties.61

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!