@ExperimentalApi public static class UserKeyChangeService.UserKeyChangeAffectedEntitiesResult extends ServiceResultImpl
Constructor and Description |
---|
UserKeyChangeAffectedEntitiesResult(Collection<AffectedEntity> affectedEntities,
Map<UserKeyChangeHandlerModuleDescriptor,ErrorCollection> warnings)
Constructs successful response.
|
UserKeyChangeAffectedEntitiesResult(ErrorCollection errorCollection)
Constructs result, possibly not successful.
|
Modifier and Type | Method and Description |
---|---|
Collection<AffectedEntity> |
getAffectedEntities()
List of affected entities reported by plugin points
UserKeyChangeHandler . |
Map<UserKeyChangeHandlerModuleDescriptor,ErrorCollection> |
getWarnings()
Contains warnings per
UserKeyChangeHandler described by UserKeyChangeHandlerModuleDescriptor . |
getErrorCollection, getWarningCollection, isValid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasWarnings
public UserKeyChangeAffectedEntitiesResult(@Nonnull Collection<AffectedEntity> affectedEntities, @Nonnull Map<UserKeyChangeHandlerModuleDescriptor,ErrorCollection> warnings)
affectedEntities
- Affected entities.warnings
- Warnings during obtaining affected entities from extension points.public UserKeyChangeAffectedEntitiesResult(@Nonnull ErrorCollection errorCollection)
errorCollection
- Collection of errors. Use empty collection for successful response.@Nonnull public Collection<AffectedEntity> getAffectedEntities()
UserKeyChangeHandler
.@Nonnull public Map<UserKeyChangeHandlerModuleDescriptor,ErrorCollection> getWarnings()
UserKeyChangeHandler
described by UserKeyChangeHandlerModuleDescriptor
.Copyright © 2002-2019 Atlassian. All Rights Reserved.