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, valid
public Error(@NotNull I18nText error, @NotNull I18nText description, @NotNull List<ItemIdentity> affectedItems)
@NotNull public I18nText getError()
EffectResponse
null
for valid
and empty responses.getError
in class EffectResponse
public boolean isError()
EffectResponse
isError
in class EffectResponse
EffectResponse.getError()
Copyright © 2024 Tempo Software. All Rights Reserved.