public class TargetPlatformFactory
extends java.lang.Object
The target platform factory can be used to get an instance of type TargetPlatform. The created instances are stored in a map.
Constructor and Description |
---|
TargetPlatformFactory() |
Modifier and Type | Method and Description |
---|---|
static void |
clear()
Removes all target platforms from the factory.
|
static TargetPlatform |
getInstance(Workspace workspace)
Returns an instance of TargetPlatform with the given workspace.
|
static TargetPlatform |
getInstance(Workspace workspace,
java.io.File targetLocation)
Returns an instance of TargetPlatform with the given targetLocation and workspace.
|
public static TargetPlatform getInstance(Workspace workspace, java.io.File targetLocation)
Returns an instance of TargetPlatform with the given targetLocation and workspace.
workspace
- the workspace which contains the projects to build.targetLocation
- the location of the platform against which the workspace plugins will be compiled and testedpublic static TargetPlatform getInstance(Workspace workspace)
Returns an instance of TargetPlatform with the given workspace.
targetLocation
- the location of the platform against which the workspace plugins will be compiled and testedpublic static void clear()