public enum GogradleGlobal extends java.lang.Enum<GogradleGlobal>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_CHARSET |
static java.lang.String |
GOGRADLE_BUILD_DIR_NAME |
static java.lang.String |
GOGRADLE_VERSION |
static int |
MAX_DFS_DEPTH |
| Modifier and Type | Method and Description |
|---|---|
com.google.inject.Injector |
getInjector() |
static <T> T |
getInstance(java.lang.Class<T> clazz) |
static <T> T |
getInstance(com.google.inject.Key<T> key) |
static boolean |
isOffline() |
static GogradleGlobal |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GogradleGlobal[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GogradleGlobal INSTANCE
public static final java.lang.String GOGRADLE_VERSION
public static final java.lang.String DEFAULT_CHARSET
public static final java.lang.String GOGRADLE_BUILD_DIR_NAME
public static final int MAX_DFS_DEPTH
public static GogradleGlobal[] values()
for (GogradleGlobal c : GogradleGlobal.values()) System.out.println(c);
public static GogradleGlobal 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 nullpublic com.google.inject.Injector getInjector()
public static <T> T getInstance(java.lang.Class<T> clazz)
public static boolean isOffline()
public static <T> T getInstance(com.google.inject.Key<T> key)