org.jclouds.openstack.swift.v1.domain
Class BulkDeleteResponse

java.lang.Object
  extended by org.jclouds.openstack.swift.v1.domain.BulkDeleteResponse

public class BulkDeleteResponse
extends Object

Represents a response from a Bulk Delete request.

See Also:
BulkApi

Method Summary
static BulkDeleteResponse create(int deleted, int notFound, Map<String,String> errors)
           
 boolean equals(Object object)
           
 int getDeleted()
           
 Map<String,String> getErrors()
           
 int getNotFound()
           
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

create

public static BulkDeleteResponse create(int deleted,
                                        int notFound,
                                        Map<String,String> errors)

getDeleted

public int getDeleted()
Returns:
The number of files deleted.

getNotFound

public int getNotFound()
Returns:
The number of files not found.

getErrors

public Map<String,String> getErrors()
Returns:
a Map<String, String> containing each path that failed to be deleted and its corresponding error response.

equals

public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

string

protected com.google.common.base.Objects.ToStringHelper string()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.