WWW::SFDC::Metadata::DeployResult - Container for Salesforce Metadata API Deployment result
version 0.36
WWW::SFDC::Metadata->Deploy returns a DeployResult in order to provide rich ability for handling different categories of errors, including categorised test results and component failures.
It is overloaded such that when stringified it returns the deployment ID, because that's the most important element, and it enables chaining with DeployRecentValidation.
You probably will only consume this, rather than explicitly creating it.
The deployment ID. When stringified, this is the object's value.
A boolean representing whether the deployment's status is 'Succeeded'.
A boolean representing whether the deployment is in any complete status, successful or otherwise.
The 'result' element of a SOAP::SOM returned from a Salesforce Deploy call. This is used for the generation of all other attributes.
An arrayref of testResults, sorted by class name and method name.
An arrayref of failed components, sorted by file name and component name.
Here, $previous is another WWW::SFDC::Metadata::DeployResult. This attribute holds all failures that are new in this result compared to the previous one. This is useful for providing a running commentary on what's failed so far.
Please report any bugs or feature requests at https://github.com/sophos/WWW-SFDC/issues.
You can find documentation for this module with the perldoc command.
perldoc WWW::SFDC::Metadata::DeployResult
You can also look for information at https://github.com/sophos/WWW-SFDC
Alexander Brett <alexander.brett@sophos.com> http://alexander-brett.co.uk
This software is Copyright (c) 2015 by Sophos Limited https://www.sophos.com/.
This is free software, licensed under:
The MIT (X11) License
The full text of the license can be found in the LICENSE file included with this distribution.
To install WWW::SFDC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::SFDC
CPAN shell
perl -MCPAN -e shell install WWW::SFDC
For more information on module installation, please visit the detailed CPAN module installation guide.