public class WorkspaceInstaller extends java.lang.Object implements java.lang.Runnable
Modifier and Type | Class and Description |
---|---|
static class |
WorkspaceInstaller.WorkspaceInstallerEvent |
static interface |
WorkspaceInstaller.WorkspaceInstallerListener |
Modifier and Type | Method and Description |
---|---|
static void |
addListener(WorkspaceInstaller.WorkspaceInstallerListener listener)
Add a listener
|
static void |
desinstall(Workspace workspace,
boolean showConfirm)
uninstall a workspace (asynchronous)
|
static Workspace |
getCurrentInstallingWorkspace()
return the current installed workspace (null if none)
|
static void |
install(Workspace workspace,
boolean showConfirm)
install a workspace (asynchronous)
|
static boolean |
isDesinstalling()
return true if WorkspaceInstaller is desinstalling workspace(s)
|
static boolean |
isDesinstallingWorkspace(Workspace workspace)
return true if specified workspace is currently being desinstalled or will be desinstalled
|
static boolean |
isInstalling()
return true if WorkspaceInstaller is installing workspace(s)
|
static boolean |
isInstallingWorkspace(Workspace workspace)
return true if specified workspace is currently being installed or will be installed
|
static boolean |
isProcessing()
return true if WorkspaceInstaller is processing
|
static boolean |
isWaitingForDesinstall(Workspace workspace)
return true if 'workspace' is in the remove FIFO
|
static boolean |
isWaitingForInstall(Workspace workspace)
return true if 'workspace' is in the install FIFO
|
static void |
removeListener(WorkspaceInstaller.WorkspaceInstallerListener listener)
Remove a listener
|
void |
run() |
public static void install(Workspace workspace, boolean showConfirm)
public static boolean isProcessing()
public static boolean isInstalling()
public static boolean isWaitingForInstall(Workspace workspace)
public static Workspace getCurrentInstallingWorkspace()
public static boolean isInstallingWorkspace(Workspace workspace)
public static void desinstall(Workspace workspace, boolean showConfirm)
public static boolean isDesinstalling()
public static boolean isWaitingForDesinstall(Workspace workspace)
public static boolean isDesinstallingWorkspace(Workspace workspace)
public void run()
run
in interface java.lang.Runnable
public static void addListener(WorkspaceInstaller.WorkspaceInstallerListener listener)
listener
- public static void removeListener(WorkspaceInstaller.WorkspaceInstallerListener listener)
listener
-