public enum ApiSourceEnum extends java.lang.Enum<ApiSourceEnum>
| Enum Constant and Description |
|---|
ANNOTATION_GENERATION
annotation_generation.
|
CREATE_MANUALLY
create_manually.
|
IMPORT_SWAGGER
import_swagger.
|
IMPORT_YAPI
import_yapi.
|
SWAGGER
swagger.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
get name .
|
java.lang.Integer |
getValue()
get value .
|
static ApiSourceEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ApiSourceEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiSourceEnum SWAGGER
public static final ApiSourceEnum ANNOTATION_GENERATION
public static final ApiSourceEnum CREATE_MANUALLY
public static final ApiSourceEnum IMPORT_SWAGGER
public static final ApiSourceEnum IMPORT_YAPI
public static ApiSourceEnum[] values()
for (ApiSourceEnum c : ApiSourceEnum.values()) System.out.println(c);
public static ApiSourceEnum 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 nullpublic java.lang.String getName()
public java.lang.Integer getValue()
Copyright © 2024 The Apache Software Foundation. All rights reserved.