|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<RebindMode> com.google.gwt.core.ext.RebindMode
public enum RebindMode
A mode to indicate how incremental generator output should be integrated by
the deferred binding implementation. The RebindMode is included as a member
of the RebindResult
returned by
IncrementalGenerator.generateIncrementally(com.google.gwt.core.ext.TreeLogger, com.google.gwt.core.ext.GeneratorContext, java.lang.String)
. It is up to each
generator implementation to determine the conditions for reuse of previously
generated cached output.
RebindResult
,
IncrementalGenerator.generateIncrementally(com.google.gwt.core.ext.TreeLogger, com.google.gwt.core.ext.GeneratorContext, java.lang.String)
Enum Constant Summary | |
---|---|
USE_ALL_CACHED
Indicates nothing new was generated, only cached output previously generated should be used. |
|
USE_ALL_NEW
Indicates only newly generated output should be used. |
|
USE_ALL_NEW_WITH_NO_CACHING
Indicates only newly generated output should be used, and no output should be cached. |
|
USE_EXISTING
Indicates no generated code is needed to satisfy this rebind. |
|
USE_PARTIAL_CACHED
Indicates that a mixture of newly generated and previously cached output should be used. |
Method Summary | |
---|---|
static RebindMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static RebindMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final RebindMode USE_EXISTING
GeneratorContext.tryCreate(com.google.gwt.core.ext.TreeLogger, java.lang.String, java.lang.String)
).
public static final RebindMode USE_ALL_NEW
public static final RebindMode USE_ALL_NEW_WITH_NO_CACHING
IncrementalGenerator.generateIncrementally(com.google.gwt.core.ext.TreeLogger, com.google.gwt.core.ext.GeneratorContext, java.lang.String)
.
public static final RebindMode USE_ALL_CACHED
public static final RebindMode USE_PARTIAL_CACHED
GeneratorContext.tryReuseTypeFromCache(java.lang.String)
should be reused from cache,
while everything else committed to the context should be treated as freshly
generated output. A new composite cache entry will be created which
combines the freshly generated output and the output reused from cache.
Method Detail |
---|
public static RebindMode[] values()
for (RebindMode c : RebindMode.values()) System.out.println(c);
public static RebindMode 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 name
java.lang.NullPointerException
- if the argument is null
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |