public static enum Gwtc.CompileMode extends Enum<Gwtc.CompileMode>
When selecting the mode, the compiler will start at the method or class
which is to be compiled, and search up the class hierarchy for a Gwtc
annotation that has set the Gwtc.compileMode() to anything other
than INHERIT.
The search order of inherited Gwtc.compileMode() will be based
upon the first Gwtc.inheritanceMode() value found.
| Enum Constant and Description |
|---|
DEV
Run in standard dev mode; not yet supported
|
GWTC
Run a standard full GWT compile.
|
GWTC_ISOLATED
Run a full compile on the annotated method or class,
without including any other entry points or dependencies.
|
INHERIT |
JUNIT3_DEV
Run GWTTestCase in dev mode; not yet supported
|
JUNIT3_PROD
Run GWTTestCase in production mode; not yet supported
|
SUPERDEV
Run in a superdevmode shell.
|
SUPERDEV_ISOLATED
Run a full compile on the annotated method or class,
without including any other entry points or dependencies.
|
| Modifier and Type | Method and Description |
|---|---|
static Gwtc.CompileMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Gwtc.CompileMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Gwtc.CompileMode GWTC
public static final Gwtc.CompileMode SUPERDEV
public static final Gwtc.CompileMode DEV
public static final Gwtc.CompileMode JUNIT3_PROD
public static final Gwtc.CompileMode JUNIT3_DEV
public static final Gwtc.CompileMode GWTC_ISOLATED
Useful for test classes which are testing full GWT compiles in production mode.
public static final Gwtc.CompileMode SUPERDEV_ISOLATED
Useful for tests which want an isolated module definition, to ensure that no other settings / source inclusions interfere with the compile.
public static final Gwtc.CompileMode INHERIT
public static Gwtc.CompileMode[] values()
for (Gwtc.CompileMode c : Gwtc.CompileMode.values()) System.out.println(c);
public static Gwtc.CompileMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © December 07, 2012–2015 The Internet Party. All rights reserved.