public static final class EffectResponse.Error extends EffectResponse
EffectResponse.Empty, EffectResponse.Error, EffectResponse.Valid| Constructor and Description |
|---|
Error(I18nText error,
I18nText description,
List<ItemIdentity> affectedItems) |
| Modifier and Type | Method and Description |
|---|---|
I18nText |
getError()
Describes why this effect cannot be applied, e.g.
|
boolean |
isError()
Returns whether this response is an error, which means this change cannot
be applied.
|
empty, error, getAffectedItems, getDescription, getEffect, getSuccessMessage, isEmpty, validpublic Error(@NotNull
I18nText error,
@NotNull
I18nText description,
@NotNull
List<ItemIdentity> affectedItems)
@NotNull public I18nText getError()
EffectResponsenull for valid
and empty responses.getError in class EffectResponsepublic boolean isError()
EffectResponseisError in class EffectResponseEffectResponse.getError()Copyright © 2021 ALM Works. All Rights Reserved.