use of io.stackgres.operator.validation.ValidationType in project stackgres by ongres.
the class DbOpsValidator method fail.
default void fail(String message) throws ValidationFailed {
ValidationType validationType = this.getClass().getAnnotation(ValidationType.class);
String errorTypeUri = ErrorType.getErrorTypeUri(validationType.value());
fail(errorTypeUri, message);
}
use of io.stackgres.operator.validation.ValidationType in project stackgres by ongres.
the class ClusterValidator method fail.
default void fail(String message) throws ValidationFailed {
ValidationType validationType = this.getClass().getAnnotation(ValidationType.class);
String errorTypeUri = ErrorType.getErrorTypeUri(validationType.value());
fail(errorTypeUri, message);
}
use of io.stackgres.operator.validation.ValidationType in project stackgres by ongres.
the class DistributedLogsValidator method fail.
default void fail(String message) throws ValidationFailed {
ValidationType validationType = this.getClass().getAnnotation(ValidationType.class);
String errorTypeUri = ErrorType.getErrorTypeUri(validationType.value());
fail(errorTypeUri, message);
}
Aggregations