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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Result ObjectsAsyncResultNameTypeDescriptionstatusCodeStatusCode(enumeration oftype string)If an error occurred during the create(), update(), or delete()call, a status code is returned, and the message corresponding to the statuscode 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>.For <strong>API</strong> versions 28.0 and earlier, the AsyncResult object has the following properties.NamecheckOnlydoneidmessagenumberComponentErrorsnumberComponentsDeployednumberComponentsTotalnumberTestErrorsnumberTestsCompletednumberTestsTotalTypebooleanbooleanIDstringintintintintintintDescriptionIndicates whether this deployment is being used to check the validity ofthe deployed files without making any changes in the organization (true)or not (false). A check-only deployment does not deploy any<strong>com</strong>ponents or change the organization in any way. This field is availablein <strong>API</strong> version 16.0 and later and is only relevant for the deploy() call.Required. Indicates whether the call has <strong>com</strong>pleted (true) or not(false).Required. ID of the <strong>com</strong>ponent being created, updated, deleted, deployed,or retrieved.Message corresponding to the statusCode field returned, if any.The number of <strong>com</strong>ponents that generated errors during this deployment.This field is available in <strong>API</strong> version 16.0 and later and is only relevantfor the deploy() call.The number of <strong>com</strong>ponents that have been deployed so far for thisdeployment. This field in conjunction with thenumberComponentsTotal field gives you an indication of the progressof the deployment. This field is available in <strong>API</strong> version 16.0 and laterand is only relevant for the deploy() call.The total number of <strong>com</strong>ponents in the deployment. This field inconjunction with the numberComponentsDeployed field gives you anindication of the progress of the deployment. This field is available in<strong>API</strong> version 16.0 and later and is only relevant for the deploy() call.The number of Apex tests that have generated errors during thisdeployment. This field is available in <strong>API</strong> version 16.0 and later and isonly relevant for the deploy() call.The number of Apex tests that have <strong>com</strong>pleted so far for this deployment.This field in conjunction with the numberTestsTotal field gives youan indication of the progress of tests for the deployment. This field isavailable in <strong>API</strong> version 16.0 and later and is only relevant for thedeploy() call.The total number of Apex tests in the deployment. This field inconjunction with the numberTestsCompleted field gives you anindication of the progress of tests for the deployment. The value in thisfield is not accurate until the deployment has started running tests for the60

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

Saved successfully!

Ooh no, something went wrong!