Package io.cucumber.messages
Enum Messages.SourceReference.ReferenceCase
- java.lang.Object
-
- java.lang.Enum<Messages.SourceReference.ReferenceCase>
-
- io.cucumber.messages.Messages.SourceReference.ReferenceCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<Messages.SourceReference.ReferenceCase>
- Enclosing class:
- Messages.SourceReference
public static enum Messages.SourceReference.ReferenceCase extends Enum<Messages.SourceReference.ReferenceCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JAVA_METHODJAVA_STACK_TRACE_ELEMENTREFERENCE_NOT_SETURI
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Messages.SourceReference.ReferenceCaseforNumber(int value)intgetNumber()static Messages.SourceReference.ReferenceCasevalueOf(int value)Deprecated.static Messages.SourceReference.ReferenceCasevalueOf(String name)Returns the enum constant of this type with the specified name.static Messages.SourceReference.ReferenceCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
URI
public static final Messages.SourceReference.ReferenceCase URI
-
JAVA_METHOD
public static final Messages.SourceReference.ReferenceCase JAVA_METHOD
-
JAVA_STACK_TRACE_ELEMENT
public static final Messages.SourceReference.ReferenceCase JAVA_STACK_TRACE_ELEMENT
-
REFERENCE_NOT_SET
public static final Messages.SourceReference.ReferenceCase REFERENCE_NOT_SET
-
-
Method Detail
-
values
public static Messages.SourceReference.ReferenceCase[] 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 (Messages.SourceReference.ReferenceCase c : Messages.SourceReference.ReferenceCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Messages.SourceReference.ReferenceCase 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
-
valueOf
@Deprecated public static Messages.SourceReference.ReferenceCase 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 Messages.SourceReference.ReferenceCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-