Package org.wso2.siddhi.parser.core.util
Enum TransportStrategy
- java.lang.Object
-
- java.lang.Enum<TransportStrategy>
-
- org.wso2.siddhi.parser.core.util.TransportStrategy
-
- All Implemented Interfaces:
Serializable,Comparable<TransportStrategy>
public enum TransportStrategy extends Enum<TransportStrategy>
Details of TransportStrategy.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLFIELD_GROUPINGROUND_ROBIN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TransportStrategyvalueOf(String name)Returns the enum constant of this type with the specified name.static TransportStrategy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIELD_GROUPING
public static final TransportStrategy FIELD_GROUPING
-
ROUND_ROBIN
public static final TransportStrategy ROUND_ROBIN
-
ALL
public static final TransportStrategy ALL
-
-
Method Detail
-
values
public static TransportStrategy[] 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 (TransportStrategy c : TransportStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransportStrategy 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
-
-