public enum V8ConversionMode extends java.lang.Enum<V8ConversionMode>
Enum Constant and Description |
---|
AllowOnly
AllowOnly mode only maps the API with @V8Allow.
|
BlockOnly
BlockOnly mode ignored the API with @V8Block.
|
Transparent
Transparent mode maps the Java objects directly to V8
and ignores any annotations.
|
Modifier and Type | Method and Description |
---|---|
static V8ConversionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static V8ConversionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final V8ConversionMode Transparent
public static final V8ConversionMode AllowOnly
public static final V8ConversionMode BlockOnly
public static V8ConversionMode[] values()
for (V8ConversionMode c : V8ConversionMode.values()) System.out.println(c);
public static V8ConversionMode 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 null