public class BulkRemoveResult<T> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BulkRemoveResult.Builder<T> |
Modifier and Type | Method and Description |
---|---|
static <T> BulkRemoveResult.Builder<T> |
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.
|
public Collection<T> getFailedEntities()
public Collection<T> getMissingEntities()
public long getAttemptedToRemove()
public long getRemovedSuccessfully()
attemptedToRemove - failedEntities - missingEntities
public static <T> BulkRemoveResult.Builder<T> builder(long attemptingToRemove)
Copyright © 2021 Atlassian. All rights reserved.