public final class ValidationResult extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
@Nullable MessageError |
getMessageError()
Could be null for valid request (valid == true case)
|
int |
hashCode() |
static ValidationResult |
invalid(@NotNull ErrorType errorType,
MessageErrorCode messageErrorCode) |
static ValidationResult |
invalid(@NotNull ErrorType errorType,
TppMessageInformation... tppMessageInformations) |
static ValidationResult |
invalid(@NotNull ErrorType errorType,
TppMessageInformation tppMessageInformation) |
static ValidationResult |
invalid(@NotNull MessageError messageError) |
boolean |
isNotValid() |
boolean |
isValid() |
String |
toString() |
static ValidationResult |
valid() |
public static ValidationResult valid()
public static ValidationResult invalid(@NotNull @NotNull MessageError messageError)
public static ValidationResult invalid(@NotNull @NotNull ErrorType errorType, MessageErrorCode messageErrorCode)
public static ValidationResult invalid(@NotNull @NotNull ErrorType errorType, TppMessageInformation tppMessageInformation)
public static ValidationResult invalid(@NotNull @NotNull ErrorType errorType, TppMessageInformation... tppMessageInformations)
public boolean isNotValid()
public boolean isValid()
@Nullable public @Nullable MessageError getMessageError()
Copyright © 2020. All rights reserved.