public abstract class ValidationResponse extends Object
Constructor and Description |
---|
ValidationResponse() |
Modifier and Type | Method and Description |
---|---|
static ValidationResponse |
create(boolean error,
String errorMessage) |
abstract boolean |
error() |
abstract String |
errorMessage() |
public abstract boolean error()
public static ValidationResponse create(boolean error, @Nullable String errorMessage)
Copyright © 2012–2019 Graylog, Inc.. All rights reserved.