public class UIFactory extends Object
| Constructor and Description |
|---|
UIFactory() |
| Modifier and Type | Method and Description |
|---|---|
static DualPaneUIVersion1 |
createDualPaneUI(ClassLoader parentClassLoader,
File gradleHomeDirectory,
DualPaneUIInteractionVersion1 interaction,
boolean showDebugInfo)
Deprecated.
Use the tooling API instead.
|
static DualPaneUIVersion1 |
createDualPaneUIViaFactory(ClassLoader parentClassLoader,
File gradleHomeDirectory,
DualPaneUIInteractionVersion1 interaction,
boolean showDebugInfo)
Deprecated.
Use the tooling API instead.
|
static SinglePaneUIVersion1 |
createSinglePaneUI(ClassLoader parentClassLoader,
File gradleHomeDirectory,
SinglePaneUIInteractionVersion1 interaction,
boolean showDebugInfo)
Deprecated.
Use the tooling API instead.
|
@Deprecated public static SinglePaneUIVersion1 createSinglePaneUI(ClassLoader parentClassLoader, File gradleHomeDirectory, SinglePaneUIInteractionVersion1 interaction, boolean showDebugInfo) throws Exception
Note: this function is meant to be backward and forward compatible. So this signature should not change at all, however, it may take and return objects that implement ADDITIONAL interfaces. That is, it will always return SinglePaneUIVersion1, but it may also be an object that implements SinglePaneUIVersion2 (notice the 2). The caller will need to dynamically determine that. The SinglePaneUIInteractionVersion1 may take an object that also implements SinglePaneUIInteractionVersion2. If so, we'll dynamically determine that and handle it. Of course, this all depends on what happens in the future.
parentClassLoader - Your classloader. Probably the classloader of whatever class is calling this.gradleHomeDirectory - the root directory of a gradle installationshowDebugInfo - true to show some additional information that may be helpful diagnosing problems is this failsException@Deprecated public static DualPaneUIVersion1 createDualPaneUI(ClassLoader parentClassLoader, File gradleHomeDirectory, DualPaneUIInteractionVersion1 interaction, boolean showDebugInfo) throws Exception
Note: this function is meant to be backward and forward compatible. So this signature should not change at all, however, it may take and return objects that implement ADDITIONAL interfaces. That is, it will always return SinglePaneUIVersion1, but it may also be an object that implements SinglePaneUIVersion2 (notice the 2). The caller will need to dynamically determine that. The SinglePaneUIInteractionVersion1 may take an object that also implements SinglePaneUIInteractionVersion2. If so, we'll dynamically determine that and handle it. Of course, this all depends on what happens in the future.
parentClassLoader - Your classloader. Probably the classloader of whatever class is calling this.gradleHomeDirectory - the root directory of a gradle installationinteraction - this is how we interact with the caller.showDebugInfo - true to show some additional information that may be helpful diagnosing problems is this failsException@Deprecated public static DualPaneUIVersion1 createDualPaneUIViaFactory(ClassLoader parentClassLoader, File gradleHomeDirectory, DualPaneUIInteractionVersion1 interaction, boolean showDebugInfo) throws Exception
ExceptionCopyright © 2013. All rights reserved