public class BatchResultWithFailureReasonsRestDto<T> extends Object
Constructor and Description |
---|
BatchResultWithFailureReasonsRestDto() |
BatchResultWithFailureReasonsRestDto(Collection<T> successes,
Collection<FailedEntity<T>> failures) |
Modifier and Type | Method and Description |
---|---|
void |
addAllFailedEntities(Collection<FailedEntity<T>> failures) |
void |
addAllSuccesses(Collection<T> successes) |
void |
addFailedEntity(T entityName,
String reason) |
void |
addSuccess(T entityName) |
boolean |
equals(Object o) |
Collection<FailedEntity<T>> |
getFailures() |
Collection<T> |
getSuccesses() |
int |
hashCode() |
String |
toString() |
public BatchResultWithFailureReasonsRestDto()
public BatchResultWithFailureReasonsRestDto(Collection<T> successes, Collection<FailedEntity<T>> failures)
public void addSuccess(T entityName)
public void addAllSuccesses(Collection<T> successes)
public void addAllFailedEntities(Collection<FailedEntity<T>> failures)
public Collection<FailedEntity<T>> getFailures()
public Collection<T> getSuccesses()
Copyright © 2021 Atlassian. All rights reserved.