Enum Violation.In
- java.lang.Object
-
- java.lang.Enum<Violation.In>
-
- com.tietoevry.quarkus.resteasy.problem.validation.Violation.In
-
- All Implemented Interfaces:
Serializable,Comparable<Violation.In>
- Enclosing class:
- Violation
public static enum Violation.In extends Enum<Violation.In>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Violation.MessageSupplierfield(String field)protected Stringserialize()static Violation.InvalueOf(String name)Returns the enum constant of this type with the specified name.static Violation.In[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
query
public static final Violation.In query
-
path
public static final Violation.In path
-
header
public static final Violation.In header
-
form
public static final Violation.In form
-
body
public static final Violation.In body
-
unknown
public static final Violation.In unknown
-
-
Method Detail
-
values
public static Violation.In[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Violation.In c : Violation.In.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Violation.In valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
field
public Violation.MessageSupplier field(String field)
-
serialize
protected String serialize()
-
-