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 ObjectsDeployResultNamestateDetailstatussuccessTypestringDeployStatus(enumeration oftype string)booleanDescriptionIndicates which <strong>com</strong>ponent is currently being deployed or which Apex testclass is running.Indicates the current state of the deployment. The valid values are:• Pending• InProgress• Succeeded• SucceededPartial• Failed• Canceling• CanceledIndicates whether the deployment was successful (true) or not (false).DeployDetailsThese fields provide more information for the details field of the DeployResult object, if the includeDetails parameteris set to (true in the deploy() call.Note: While a deployment is still in-progress, the DeployDetails object only contains <strong>com</strong>ponentFailures data.After the deployment process finishes, the other fields populate with the data for the entire deployment.Name<strong>com</strong>ponentFailures<strong>com</strong>ponentSuccessesretrieveResultrunTestResultTypeDeployMessage[]DeployMessage[]RetrieveResultRunTestsResultDescriptionOne or more DeployMessage objects containing deployment errors for each<strong>com</strong>ponent.One or more DeployMessage objects containing successful deployment detailsfor each <strong>com</strong>ponent.If the performRetrieve parameter was specified for the deploy() call, aretrieve() call is performed immediately after the deploy() process<strong>com</strong>pletes. This field contains the results of that retrieval.If the runAllTests or runTests parameters are set to run tests for thedeploy() call, this field contains the results of those tests. While a deploymentis still in-progress, this field only contains error data. After the deploymentprocess finishes, this field populates with the data for the entire deployment.For <strong>API</strong> versions 28.0 and earlier, the DeployResult object has the following properties.NameidmessagesretrieveResultrunTestResultTypeIDDeployMessage[]RetrieveResultRunTestsResultDescriptionID of the <strong>com</strong>ponent being deployed.Contains information about the success or failure of a deploy() call.If the performRetrieve parameter was specified for the deploy() call, aretrieve() call is performed immediately after the deploy() process <strong>com</strong>pletes.This field contains the results of that retrieval.If the runAllTests or runTests parameters are set to run tests for the deploy()call, this field contains the results of those tests.64

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

Saved successfully!

Ooh no, something went wrong!