Package gauge.messages
Enum Spec.Parameter.ParameterType
- java.lang.Object
-
- java.lang.Enum<Spec.Parameter.ParameterType>
-
- gauge.messages.Spec.Parameter.ParameterType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Spec.Parameter.ParameterType>
- Enclosing class:
- Spec.Parameter
public static enum Spec.Parameter.ParameterType extends Enum<Spec.Parameter.ParameterType> implements com.google.protobuf.ProtocolMessageEnum
/ Enum representing types of Parameter.
Protobuf enumgauge.messages.Parameter.ParameterType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DynamicDynamic parameter.Special_StringSpecial paramter, taking a string value.Special_TableSpecial paramter, taking a Table value.StaticStatic parameter.TableA table parameter, used for data driven execution.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intDynamic_VALUEDynamic parameter.static intSpecial_String_VALUESpecial paramter, taking a string value.static intSpecial_Table_VALUESpecial paramter, taking a Table value.static intStatic_VALUEStatic parameter.static intTable_VALUEA table parameter, used for data driven execution.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Spec.Parameter.ParameterTypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<Spec.Parameter.ParameterType>internalGetValueMap()static Spec.Parameter.ParameterTypevalueOf(int value)Deprecated.static Spec.Parameter.ParameterTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Spec.Parameter.ParameterTypevalueOf(String name)Returns the enum constant of this type with the specified name.static Spec.Parameter.ParameterType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Static
public static final Spec.Parameter.ParameterType Static
Static parameter. The value of the parameter is defined at the Step.
Static = 0;
-
Dynamic
public static final Spec.Parameter.ParameterType Dynamic
Dynamic parameter. This is a parameter placeholder, and the actual value is injected at runtime, depending on the context of the call.
Dynamic = 1;
-
Special_String
public static final Spec.Parameter.ParameterType Special_String
Special paramter, taking a string value. Special paramters are read from a file.
Special_String = 2;
-
Special_Table
public static final Spec.Parameter.ParameterType Special_Table
Special paramter, taking a Table value. This parameter is read from a csv file.
Special_Table = 3;
-
Table
public static final Spec.Parameter.ParameterType Table
A table parameter, used for data driven execution.
Table = 4;
-
UNRECOGNIZED
public static final Spec.Parameter.ParameterType UNRECOGNIZED
-
-
Field Detail
-
Static_VALUE
public static final int Static_VALUE
Static parameter. The value of the parameter is defined at the Step.
Static = 0;- See Also:
- Constant Field Values
-
Dynamic_VALUE
public static final int Dynamic_VALUE
Dynamic parameter. This is a parameter placeholder, and the actual value is injected at runtime, depending on the context of the call.
Dynamic = 1;- See Also:
- Constant Field Values
-
Special_String_VALUE
public static final int Special_String_VALUE
Special paramter, taking a string value. Special paramters are read from a file.
Special_String = 2;- See Also:
- Constant Field Values
-
Special_Table_VALUE
public static final int Special_Table_VALUE
Special paramter, taking a Table value. This parameter is read from a csv file.
Special_Table = 3;- See Also:
- Constant Field Values
-
Table_VALUE
public static final int Table_VALUE
A table parameter, used for data driven execution.
Table = 4;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Spec.Parameter.ParameterType[] 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 (Spec.Parameter.ParameterType c : Spec.Parameter.ParameterType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Spec.Parameter.ParameterType 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
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Spec.Parameter.ParameterType valueOf(int value)
Deprecated.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:
value- 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
-
forNumber
public static Spec.Parameter.ParameterType forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Spec.Parameter.ParameterType> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Spec.Parameter.ParameterType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
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:
desc- 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
-
-