Enum EndpointEndpointConfigDTO.EndpointTypeEnum
- java.lang.Object
-
- java.lang.Enum<EndpointEndpointConfigDTO.EndpointTypeEnum>
-
- org.wso2.am.integration.clients.publisher.api.v1.dto.EndpointEndpointConfigDTO.EndpointTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<EndpointEndpointConfigDTO.EndpointTypeEnum>
- Enclosing class:
- EndpointEndpointConfigDTO
public static enum EndpointEndpointConfigDTO.EndpointTypeEnum extends Enum<EndpointEndpointConfigDTO.EndpointTypeEnum>
Gets or Sets endpointType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEndpointEndpointConfigDTO.EndpointTypeEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description FAIL_OVERLOAD_BALANCEDSINGLE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EndpointEndpointConfigDTO.EndpointTypeEnumfromValue(String value)StringgetValue()StringtoString()static EndpointEndpointConfigDTO.EndpointTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static EndpointEndpointConfigDTO.EndpointTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SINGLE
public static final EndpointEndpointConfigDTO.EndpointTypeEnum SINGLE
-
LOAD_BALANCED
public static final EndpointEndpointConfigDTO.EndpointTypeEnum LOAD_BALANCED
-
FAIL_OVER
public static final EndpointEndpointConfigDTO.EndpointTypeEnum FAIL_OVER
-
-
Method Detail
-
values
public static EndpointEndpointConfigDTO.EndpointTypeEnum[] 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 (EndpointEndpointConfigDTO.EndpointTypeEnum c : EndpointEndpointConfigDTO.EndpointTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EndpointEndpointConfigDTO.EndpointTypeEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<EndpointEndpointConfigDTO.EndpointTypeEnum>
-
fromValue
public static EndpointEndpointConfigDTO.EndpointTypeEnum fromValue(String value)
-
-