Class BulkRemoveResult<T>
java.lang.Object
com.atlassian.crowd.manager.directory.BulkRemoveResult<T>
Represents the results from a 'removeAll' operation.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> BulkRemoveResult.Builder
<T> builder
(long attemptingToRemove) long
Returns the entities which failed to be removed during the bulk remove process.Returns the entities which were missing and hence which were not attempted to be removed.long
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.
-
Method Details
-
getFailedEntities
Returns the entities which failed to be removed during the bulk remove process.- Returns:
- failed entities.
-
getMissingEntities
Returns the entities which were missing and hence which were not attempted to be removed.- Returns:
- missing entities.
-
getAttemptedToRemove
public long getAttemptedToRemove()- Returns:
- the number of entities that was asked to be bulk removed.
-
getRemovedSuccessfully
public 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.- Returns:
attemptedToRemove - failedEntities - missingEntities
-
builder
-