public class SdkInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SDK_ROOT_PROPERTY |
Constructor and Description |
---|
SdkInfo() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getDefaultServer() |
static Version |
getLocalVersion() |
static com.google.appengine.tools.info.OptionalLib |
getOptionalToolsLib(java.lang.String name) |
static java.util.Collection<com.google.appengine.tools.info.OptionalLib> |
getOptionalToolsLibs()
Returns all optional tools libraries for the SDK.
|
static com.google.appengine.tools.info.OptionalLib |
getOptionalUserLib(java.lang.String name) |
static java.util.Collection<com.google.appengine.tools.info.OptionalLib> |
getOptionalUserLibs()
Returns all optional user libraries for the SDK.
|
static java.io.File |
getSdkRoot()
Returns the path to the root of the SDK.
|
static java.util.List<java.io.File> |
getSharedLibFiles()
Returns the paths of all shared libraries for the SDK.
|
static java.util.List<java.net.URL> |
getSharedLibs()
Returns the full paths of all shared libraries for the SDK.
|
static java.util.List<java.io.File> |
getUserLibFiles()
Deprecated.
Use
getOptionalUserLibs() instead. |
static java.util.List<java.net.URL> |
getUserLibs()
Deprecated.
Use
getOptionalUserLibs() instead. |
static void |
includeTestingJarOnSharedPath(boolean val)
If
true , the testing jar will be added to the shared libs. |
static void |
setSdkRoot(java.io.File root)
Explicitly specifies the path to the root of the SDK.
|
public static final java.lang.String SDK_ROOT_PROPERTY
public static java.util.List<java.net.URL> getSharedLibs()
public static java.util.List<java.io.File> getSharedLibFiles()
@Deprecated public static java.util.List<java.net.URL> getUserLibs()
getOptionalUserLibs()
instead.@Deprecated public static java.util.List<java.io.File> getUserLibFiles()
getOptionalUserLibs()
instead.public static java.util.Collection<com.google.appengine.tools.info.OptionalLib> getOptionalUserLibs()
public static com.google.appengine.tools.info.OptionalLib getOptionalUserLib(java.lang.String name)
public static java.util.Collection<com.google.appengine.tools.info.OptionalLib> getOptionalToolsLibs()
public static com.google.appengine.tools.info.OptionalLib getOptionalToolsLib(java.lang.String name)
public static java.io.File getSdkRoot()
public static void setSdkRoot(java.io.File root)
appengine.sdk.root
system property,
but must be called before any other methods in this class.java.lang.IllegalStateException
- If any other methods have already
been called.public static Version getLocalVersion()
public static java.lang.String getDefaultServer()
public static void includeTestingJarOnSharedPath(boolean val)
true
, the testing jar will be added to the shared libs. This
is intended for use by frameworks that want to run tests inside the
isolated classloader.val
- Whether or the testing jar should be included on the shared
path.