public abstract class AlertConditionTestResponse extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AlertConditionTestResponse.ErrorMessage |
Constructor and Description |
---|
AlertConditionTestResponse() |
Modifier and Type | Method and Description |
---|---|
static AlertConditionTestResponse |
create(boolean triggered,
String description) |
static AlertConditionTestResponse |
createWithError(Throwable t) |
abstract Optional<String> |
description() |
boolean |
error() |
abstract com.google.common.collect.ImmutableList<AlertConditionTestResponse.ErrorMessage> |
errorMessages() |
abstract boolean |
triggered() |
public abstract boolean triggered()
public boolean error()
public abstract com.google.common.collect.ImmutableList<AlertConditionTestResponse.ErrorMessage> errorMessages()
public static AlertConditionTestResponse create(boolean triggered, @Nullable String description)
public static AlertConditionTestResponse createWithError(Throwable t)
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.