public enum PlatformType extends Enum<PlatformType>
All - Inject into every build GwtAll - Inject into all gwt builds GwtScript - Only inject into compiled gwt GwtDev - Only inject into dev mode gwt Flash - Only inject into flash gwt builds Ios - Only inject into ios gwt builds Java - Only inject in pure java mode Android - Only inject into android builds WebApp - Only inject into web apps Appengine - Only inject into appengine web apps Desktop - Only inject into desktop java apps
| Enum Constant and Description |
|---|
All
Inject into all implementations
|
Android |
Appengine |
Desktop |
Flash |
GwtAll
Inject into all gwt implementations, (everything but java and android)
|
GwtDev
Inject into dev-mode gwt only
|
GwtScript
Inject into compiled gwt only
|
Ios |
Java
Inject into all non-gwt (pure java) builds
|
WebApp |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isGwt() |
boolean |
isJava() |
static PlatformType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlatformType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlatformType All
public static final PlatformType GwtAll
public static final PlatformType GwtScript
public static final PlatformType GwtDev
public static final PlatformType Java
public static final PlatformType Android
public static final PlatformType Flash
public static final PlatformType Ios
public static final PlatformType WebApp
public static final PlatformType Appengine
public static final PlatformType Desktop
public static PlatformType[] values()
for (PlatformType c : PlatformType.values()) System.out.println(c);
public static PlatformType 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 nullpublic boolean isGwt()
public boolean isJava()
Copyright © 2012-2013 The Internet Party. All Rights Reserved.