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 ObjectsDeployResultNamedoneidTypebooleanIDDescriptionIndicates whether the deployment cancellation, which is started throughcancelDeploy(), has <strong>com</strong>pleted (true) or not (false).When a deployment hasn’t started yet and is still in the queue, thedeployment is canceled immediately with the cancelDeploy() call andthis field returns true. Otherwise, this field returns false when thecancellation is in progress.ID of the deployment being canceled.DeployResultContains information about the success or failure of the associated deploy() call.The asynchronous metadata call checkDeployStatus() returns a DeployResult object.In <strong>API</strong> version 29.0, <strong>Database</strong>.<strong>com</strong> moved several properties from the AsyncResult on page 59 object to the DeployResultobject to improve the process for getting information about deployments. For more information about these changes, seedeploy() on page 25.For <strong>API</strong> versions 29.0 and later, the DeployResult object has the following properties.NameidcanceledBycanceledByNamecheckOnly<strong>com</strong>pletedDatecreatedBycreatedByNamecreatedDatedetailsTypeIDIDstringbooleandateTimeIDstringdateTimeDeployDetails[]DescriptionID of the <strong>com</strong>ponent being deployed.The ID of the user who canceled the deployment.This field is available in <strong>API</strong> version 30.0 and later.The full name of the user who canceled the deployment.This field is available in <strong>API</strong> version 30.0 and later.Indicates whether this deployment is being used to check the validity of thedeployed files without making any changes in the organization (true) ornot (false). A check-only deployment does not deploy any <strong>com</strong>ponentsor change the organization in any way.Timestamp for when the deployment process ended.The ID of the user who created the deployment.This field is available in <strong>API</strong> version 30.0 and later.The full name of the user who created the deployment.This field is available in <strong>API</strong> version 30.0 and later.Timestamp for when the deploy() call was received.Provides the details of a deployment that is in-progress or ended, if theincludeDetails parameter is set to true in the checkDeployStatus()call.62

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

Saved successfully!

Ooh no, something went wrong!