public class SimpleValidationResults extends Object
Modifier and Type | Method and Description |
---|---|
static ValidationResult |
conflictResult(String message,
Object... args)
A conflict result usually occurs when trying to create something that already exists
|
static ValidationResult |
forbiddenResult(String message,
Object... args) |
static ValidationResult |
notFoundResult(String message,
Object... args) |
static ValidationResult |
notImplementedResult(String message,
Object... args)
To be used where some functionality hasn't been implemented.
|
public static ValidationResult notFoundResult(String message, Object... args)
message
- Information about what wasn't foundpublic static ValidationResult conflictResult(String message, Object... args)
message
- Information about the conflictpublic static ValidationResult notImplementedResult(String message, Object... args)
message
- Information about what hasn't been implementedpublic static ValidationResult forbiddenResult(String message, Object... args)
message
- Information about the forbidden resultCopyright © 2003–2016 Atlassian. All rights reserved.