|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.crowd.manager.directory.BulkRemoveResult<T>
public class BulkRemoveResult<T>
Represents the results from a 'removeAll' operation.
| Nested Class Summary | |
|---|---|
static class |
BulkRemoveResult.Builder<T>
|
| Method Summary | ||
|---|---|---|
static
|
builder(long attemptingToRemove)
|
|
long |
getAttemptedToRemove()
|
|
Collection<T> |
getFailedEntities()
Returns the entities which failed to be removed during the bulk remove process. |
|
Collection<T> |
getMissingEntities()
Returns the entities which were missing and hence which were not attempted to be removed. |
|
long |
getRemovedSuccessfully()
Amount of entities successfully removed, which is calculated as the amount of entities which were attempted to be removed minus both the entities which were missing (and hence could not be removed) and the entities which failed to be removed. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Collection<T> getFailedEntities()
public Collection<T> getMissingEntities()
public long getAttemptedToRemove()
public long getRemovedSuccessfully()
attemptedToRemove - failedEntities - missingEntitiespublic static <T> BulkRemoveResult.Builder<T> builder(long attemptingToRemove)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||