---
schema_version: "1"
id: 5b61007e2a269801352690556a989988089336594bfe42fa673f719ca672222f
title: DeployDetails Class
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_class_Metadata_DeployDetails.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Metadata_DeployDetails.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 70dbe13811046d0402bc47781b75784ac974a2c1cbd4d7d72ce17ab91f562532
description: Contains detailed information on deployed components.Contains a list of information about components that failed to deploy.Contains a list of information about components that deployed successfully.Makes a duplicate copy of the Metadata.DeployDetails.
---
# DeployDetails Class

Contains detailed information on deployed components.

## Namespace

[Metadata](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_namespace_Metadata.htm "The Metadata namespace provides classes and methods for working with custom metadata in Salesforce")

## Usage

Use this class to obtain a list of the successfully and unsuccessfully deployed components after a completed deployment by Salesforce in your Metadata.DeployCallback results.

- **[DeployDetails Properties](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Metadata_DeployDetails.htm#apex_Metadata_DeployDetails_properties)**
- **[DeployDetails Methods](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Metadata_DeployDetails.htm#apex_Metadata_DeployDetails_methods)**

## DeployDetails Properties

The following are properties for DeployDetails.

- **[componentFailures](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Metadata_DeployDetails.htm#apex_Metadata_DeployDetails_componentFailures)**  
    Contains a list of information about components that failed to deploy.
- **[componentSuccesses](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Metadata_DeployDetails.htm#apex_Metadata_DeployDetails_componentSuccesses)**  
    Contains a list of information about components that deployed successfully.

### componentFailures

Contains a list of information about components that failed to deploy.

#### Signature

public List<Metadata.DeployMessage> componentFailures {get; set;}

#### Property Value

Type: [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<[Metadata.DeployMessage](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Metadata_DeployMessage.htm#apex_class_Metadata_DeployMessage "Represents result information for the deployment of a metadata component.")\>

### componentSuccesses

Contains a list of information about components that deployed successfully.

#### Signature

public List<Metadata.DeployMessage> componentSuccesses {get; set;}

#### Property Value

Type: [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<[Metadata.DeployMessage](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Metadata_DeployMessage.htm#apex_class_Metadata_DeployMessage "Represents result information for the deployment of a metadata component.")\>

## DeployDetails Methods

The following are methods for DeployDetails.

- **[clone()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Metadata_DeployDetails.htm#apex_Metadata_DeployDetails_clone)**  
    Makes a duplicate copy of the Metadata.DeployDetails.

### clone()

Makes a duplicate copy of the Metadata.DeployDetails.

#### Signature

public Object clone()

#### Return Value

Type: Object