Enum ListenerType
- java.lang.Object
-
- java.lang.Enum<ListenerType>
-
- me.snowdrop.istio.api.networking.v1alpha3.ListenerType
-
- All Implemented Interfaces:
Serializable,Comparable<ListenerType>
public enum ListenerType extends Enum<ListenerType>
- Author:
- Christophe Laprun
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANYAll listenersGATEWAYGateway listenerSIDECAR_INBOUNDInbound listener in sidecarSIDECAR_OUTBOUNDOutbound listener in sidecar
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intvalue()static ListenerTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ListenerType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANY
public static final ListenerType ANY
All listeners
-
SIDECAR_INBOUND
public static final ListenerType SIDECAR_INBOUND
Inbound listener in sidecar
-
SIDECAR_OUTBOUND
public static final ListenerType SIDECAR_OUTBOUND
Outbound listener in sidecar
-
GATEWAY
public static final ListenerType GATEWAY
Gateway listener
-
-
Method Detail
-
values
public static ListenerType[] 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 (ListenerType c : ListenerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ListenerType 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
-
value
public int value()
-
-