Class EffectResponse.Error
Object
EffectResponse
Error
- Enclosing class:
- EffectResponse
Represents an error response, which means that the requested change
is impossible.
-
Nested Class Summary
Nested classes/interfaces inherited from class EffectResponse
EffectResponse.Empty, EffectResponse.Error, EffectResponse.Valid -
Constructor Summary
ConstructorsConstructorDescriptionError(I18nText error, I18nText description, List<ItemIdentity> affectedItems) -
Method Summary
Methods inherited from class EffectResponse
empty, error, getAffectedItems, getDescription, getEffect, getSuccessMessage, isEmpty, valid
-
Constructor Details
-
Error
public Error(@NotNull I18nText error, @NotNull I18nText description, @NotNull List<ItemIdentity> affectedItems)
-
-
Method Details
-
getError
Description copied from class:EffectResponseDescribes why this effect cannot be applied, e.g. "Issue does not exist or you have no permission to see it." Returnsnullfor valid and empty responses.- Overrides:
getErrorin classEffectResponse
-
isError
public boolean isError()Description copied from class:EffectResponseReturns whether this response is an error, which means this change cannot be applied.- Overrides:
isErrorin classEffectResponse- See Also:
-