com.atlassian.crowd.util
Class BatchResult<T>
java.lang.Object
com.atlassian.crowd.util.BatchResult<T>
- Direct Known Subclasses:
- BatchResultWithIdReferences
public class BatchResult<T>
- extends Object
A batch mutation operation result representing the collection of entities
that were successfully processed and the collection of entities that failed
processing.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BatchResult
public BatchResult(int totalEntities)
addSuccess
public void addSuccess(T entity)
addSuccesses
public void addSuccesses(Collection<? extends T> entities)
addFailure
public void addFailure(T entity)
addFailures
public void addFailures(Collection<? extends T> entities)
hasFailures
public boolean hasFailures()
getTotalAttempted
public int getTotalAttempted()
getSuccessfulEntities
public List<T> getSuccessfulEntities()
getFailedEntities
public List<T> getFailedEntities()
getTotalSuccessful
public int getTotalSuccessful()
Copyright © 2013 Atlassian. All Rights Reserved.