Package org.docstr.gradle.plugins.gwt
Enum JsInteropMode
- java.lang.Object
-
- java.lang.Enum<JsInteropMode>
-
- org.docstr.gradle.plugins.gwt.JsInteropMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<JsInteropMode>
public enum JsInteropMode extends java.lang.Enum<JsInteropMode>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JsInteropMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static JsInteropMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JS
public static final JsInteropMode JS
-
NONE
public static final JsInteropMode NONE
GWT 2.7 only
-
CLOSURE
public static final JsInteropMode CLOSURE
GWT 2.7 only
-
JS_RC
public static final JsInteropMode JS_RC
GWT 2.8
-
-
Method Detail
-
values
public static JsInteropMode[] 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 (JsInteropMode c : JsInteropMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JsInteropMode valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-