Package com.axway.apim.api.specification
Enum APISpecification.APISpecType
- java.lang.Object
-
- java.lang.Enum<APISpecification.APISpecType>
-
- com.axway.apim.api.specification.APISpecification.APISpecType
-
- All Implemented Interfaces:
Serializable,Comparable<APISpecification.APISpecType>
- Enclosing class:
- APISpecification
public static enum APISpecification.APISpecType extends Enum<APISpecification.APISpecType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ODATA_V2ODATA_V3ODATA_V4OPEN_API_30OPEN_API_30_YAMLSWAGGER_API_1xSWAGGER_API_1x_YAMLSWAGGER_API_20SWAGGER_API_20_YAMLUNKNOWNWADL_APIWSDL_API
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAdditionalNote()StringgetFileExtension()StringgetNiceName()StringgetNote()static APISpecification.APISpecTypevalueOf(String name)Returns the enum constant of this type with the specified name.static APISpecification.APISpecType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SWAGGER_API_1x
public static final APISpecification.APISpecType SWAGGER_API_1x
-
SWAGGER_API_1x_YAML
public static final APISpecification.APISpecType SWAGGER_API_1x_YAML
-
SWAGGER_API_20
public static final APISpecification.APISpecType SWAGGER_API_20
-
SWAGGER_API_20_YAML
public static final APISpecification.APISpecType SWAGGER_API_20_YAML
-
OPEN_API_30
public static final APISpecification.APISpecType OPEN_API_30
-
OPEN_API_30_YAML
public static final APISpecification.APISpecType OPEN_API_30_YAML
-
WSDL_API
public static final APISpecification.APISpecType WSDL_API
-
WADL_API
public static final APISpecification.APISpecType WADL_API
-
ODATA_V2
public static final APISpecification.APISpecType ODATA_V2
-
ODATA_V3
public static final APISpecification.APISpecType ODATA_V3
-
ODATA_V4
public static final APISpecification.APISpecType ODATA_V4
-
UNKNOWN
public static final APISpecification.APISpecType UNKNOWN
-
-
Method Detail
-
values
public static APISpecification.APISpecType[] 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 (APISpecification.APISpecType c : APISpecification.APISpecType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static APISpecification.APISpecType 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
-
getNiceName
public String getNiceName()
-
getFileExtension
public String getFileExtension()
-
getNote
public String getNote()
-
getAdditionalNote
public String getAdditionalNote()
-
-