Enum Service.Type
- java.lang.Object
-
- java.lang.Enum<Service.Type>
-
- org.apache.camel.v1.pipespec.integration.traits.Service.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Service.Type>
- Enclosing class:
- Service
public static enum Service.Type extends java.lang.Enum<Service.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLUSTERIPLOADBALANCERNODEPORT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetValue()static Service.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Service.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLUSTERIP
public static final Service.Type CLUSTERIP
-
NODEPORT
public static final Service.Type NODEPORT
-
LOADBALANCER
public static final Service.Type LOADBALANCER
-
-
Method Detail
-
values
public static Service.Type[] 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 (Service.Type c : Service.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Service.Type 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
-
getValue
public java.lang.String getValue()
-
-