public static final class EffectResponse.Valid extends EffectResponse
EffectResponse.Empty, EffectResponse.Error, EffectResponse.Valid
Modifier and Type | Method and Description |
---|---|
Effect |
getEffect()
Returns the actual effect, or
null if error or empty. |
I18nText |
getSuccessMessage()
Returns a human-readable description of the change, as if it already
happened, e.g.
|
empty, error, getAffectedItems, getDescription, getError, isEmpty, isError, valid
@NotNull public Effect getEffect()
EffectResponse
null
if error or empty.getEffect
in class EffectResponse
@NotNull public I18nText getSuccessMessage()
EffectResponse
Returns a human-readable description of the change, as if it already happened, e.g. "Assigned FOO-123 to John Doe."
This description is null
for error and empty responses.
getSuccessMessage
in class EffectResponse
Copyright © 2024 Tempo Software. All Rights Reserved.