Enum Oas31KeywordScanner.KeywordOccurrenceStatus
- java.lang.Object
-
- java.lang.Enum<Oas31KeywordScanner.KeywordOccurrenceStatus>
-
- org.openapitools.codegen.languages.Oas31KeywordScanner.KeywordOccurrenceStatus
-
- All Implemented Interfaces:
Serializable,Comparable<Oas31KeywordScanner.KeywordOccurrenceStatus>
- Enclosing class:
- Oas31KeywordScanner
public static enum Oas31KeywordScanner.KeywordOccurrenceStatus extends Enum<Oas31KeywordScanner.KeywordOccurrenceStatus>
Classification of one visible keyword occurrence.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANNOTATIONThe keyword has no validity effect in the active vocabulary.EMITTEDA validator or structural handler is emitted for this keyword.FAIL_CLOSEDThe generator rejects this keyword rather than ignoring it.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Oas31KeywordScanner.KeywordOccurrenceStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static Oas31KeywordScanner.KeywordOccurrenceStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EMITTED
public static final Oas31KeywordScanner.KeywordOccurrenceStatus EMITTED
A validator or structural handler is emitted for this keyword.
-
FAIL_CLOSED
public static final Oas31KeywordScanner.KeywordOccurrenceStatus FAIL_CLOSED
The generator rejects this keyword rather than ignoring it.
-
ANNOTATION
public static final Oas31KeywordScanner.KeywordOccurrenceStatus ANNOTATION
The keyword has no validity effect in the active vocabulary.
-
-
Method Detail
-
values
public static Oas31KeywordScanner.KeywordOccurrenceStatus[] 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 (Oas31KeywordScanner.KeywordOccurrenceStatus c : Oas31KeywordScanner.KeywordOccurrenceStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Oas31KeywordScanner.KeywordOccurrenceStatus 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
-
-