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

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

public class ExtractArchiveResponse
extends Object

Represents a response from an Extract Archive request.

See Also:
BulkApi

Method Summary
static ExtractArchiveResponse create(int created, Map<String,String> errors)
           
 boolean equals(Object object)
           
 int getCreated()
           
 Map<String,String> getErrors()
           
 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 ExtractArchiveResponse create(int created,
                                            Map<String,String> errors)

getCreated

public int getCreated()
Returns:
The number of files created.

getErrors

public Map<String,String> getErrors()
Returns:
a Map<String, String> containing each path that failed to be created 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.