public abstract class AuthServiceBackendTestResult extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AuthServiceBackendTestResult.Builder |
| Constructor and Description |
|---|
AuthServiceBackendTestResult() |
| Modifier and Type | Method and Description |
|---|---|
static AuthServiceBackendTestResult.Builder |
builder() |
static AuthServiceBackendTestResult |
createFailure(String message) |
static AuthServiceBackendTestResult |
createFailure(String message,
List<String> errors) |
static AuthServiceBackendTestResult |
createFailure(String message,
List<String> errors,
Map<String,Object> result) |
static AuthServiceBackendTestResult |
createFailure(String message,
Map<String,Object> result) |
static AuthServiceBackendTestResult |
createSuccess(String message) |
static AuthServiceBackendTestResult |
createSuccess(String message,
Map<String,Object> result) |
abstract com.google.common.collect.ImmutableList<String> |
errors() |
abstract boolean |
isSuccess() |
abstract String |
message() |
abstract com.google.common.collect.ImmutableMap<String,Object> |
result() |
public abstract boolean isSuccess()
public abstract String message()
public abstract com.google.common.collect.ImmutableList<String> errors()
public static AuthServiceBackendTestResult createSuccess(String message)
public static AuthServiceBackendTestResult createSuccess(String message, Map<String,Object> result)
public static AuthServiceBackendTestResult createFailure(String message)
public static AuthServiceBackendTestResult createFailure(String message, List<String> errors)
public static AuthServiceBackendTestResult createFailure(String message, Map<String,Object> result)
public static AuthServiceBackendTestResult createFailure(String message, List<String> errors, Map<String,Object> result)
public static AuthServiceBackendTestResult.Builder builder()
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.