public enum V8ContextType extends java.lang.Enum<V8ContextType>
Enum Constant and Description |
---|
Await |
Block |
Catch |
DebugEvaluate |
Declaration |
Eval |
Function |
Module |
Script |
With |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
java.lang.String |
getName() |
static V8ContextType |
parse(int id) |
static V8ContextType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static V8ContextType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final V8ContextType Await
public static final V8ContextType Block
public static final V8ContextType Catch
public static final V8ContextType DebugEvaluate
public static final V8ContextType Declaration
public static final V8ContextType Eval
public static final V8ContextType Function
public static final V8ContextType Module
public static final V8ContextType Script
public static final V8ContextType With
public static V8ContextType[] values()
for (V8ContextType c : V8ContextType.values()) System.out.println(c);
public static V8ContextType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static V8ContextType parse(int id)
public int getId()
public java.lang.String getName()