Package io.virtualan.api
Enum VirtualServiceType
- java.lang.Object
-
- java.lang.Enum<VirtualServiceType>
-
- io.virtualan.api.VirtualServiceType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<VirtualServiceType>
public enum VirtualServiceType extends java.lang.Enum<VirtualServiceType>
This is type of VirtualServiceType supported.- Author:
- Elan Thangamani
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CXF_JAX_RSNON_RESTOPEN_APISPRING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetType()static VirtualServiceTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static VirtualServiceType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SPRING
public static final VirtualServiceType SPRING
-
CXF_JAX_RS
public static final VirtualServiceType CXF_JAX_RS
-
OPEN_API
public static final VirtualServiceType OPEN_API
-
NON_REST
public static final VirtualServiceType NON_REST
-
-
Method Detail
-
values
public static VirtualServiceType[] 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 (VirtualServiceType c : VirtualServiceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VirtualServiceType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getType
public java.lang.String getType()
-
-