public class ValidationResult extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ValidationResult.Severity |
Constructor and Description |
---|
ValidationResult(Object source,
ValidationResult.Severity severity,
String format,
Object... args) |
Modifier and Type | Method and Description |
---|---|
static ValidationResult |
debug(Object source,
String format,
Object... args) |
boolean |
equals(Object other) |
static ValidationResult |
error(Object source,
String format,
Object... args) |
String |
getMessage() |
ValidationResult.Severity |
getSeverity() |
String |
getSource() |
int |
hashCode() |
static ValidationResult |
info(Object source,
String format,
Object... args) |
String |
toString() |
static ValidationResult |
trace(Object source,
String format,
Object... args) |
static ValidationResult |
warn(Object source,
String format,
Object... args) |
public ValidationResult(Object source, ValidationResult.Severity severity, String format, Object... args)
public String getSource()
public String getMessage()
public ValidationResult.Severity getSeverity()
public static ValidationResult error(Object source, String format, Object... args)
public static ValidationResult warn(Object source, String format, Object... args)
public static ValidationResult info(Object source, String format, Object... args)
public static ValidationResult debug(Object source, String format, Object... args)
public static ValidationResult trace(Object source, String format, Object... args)
Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.