public enum ValidationOutcome extends java.lang.Enum<ValidationOutcome>
ReqIFFile.validate(java.lang.String, java.util.function.Consumer<java.lang.String>)
.Enum Constant and Description |
---|
SUCCESS
ReqIF loaded successfully with no validation errors
|
VALIDATION_ERRORS
ReqIF loaded with one or more validation errors possibly resulting in a partially loaded ReqIF
|
Modifier and Type | Method and Description |
---|---|
static ValidationOutcome |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ValidationOutcome[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationOutcome SUCCESS
public static final ValidationOutcome VALIDATION_ERRORS
public static ValidationOutcome[] values()
for (ValidationOutcome c : ValidationOutcome.values()) System.out.println(c);
public static ValidationOutcome valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null