com.atlassian.jira.rest.client.api.domain.util
Class ErrorCollection

java.lang.Object
  extended by com.atlassian.jira.rest.client.api.domain.util.ErrorCollection

public class ErrorCollection
extends Object

Error container returned in bulk operations

Since:
v2.0

Nested Class Summary
static class ErrorCollection.Builder
           
 
Constructor Summary
ErrorCollection(Integer status, Collection<String> errorMessages, Map<String,String> errors)
           
ErrorCollection(String errorMessage)
           
 
Method Summary
static ErrorCollection.Builder builder()
           
 boolean equals(Object obj)
           
 Collection<String> getErrorMessages()
           
 Map<String,String> getErrors()
           
 Integer getStatus()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ErrorCollection

public ErrorCollection(@Nullable
                       Integer status,
                       Collection<String> errorMessages,
                       Map<String,String> errors)

ErrorCollection

public ErrorCollection(String errorMessage)
Method Detail

getStatus

@Nullable
public Integer getStatus()

getErrorMessages

public Collection<String> getErrorMessages()

getErrors

public Map<String,String> getErrors()

builder

public static ErrorCollection.Builder builder()

toString

public String toString()
Overrides:
toString in class Object

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2013 Atlassian. All Rights Reserved.