public class BundlesInstaller extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ACTIVE_STATE |
| Constructor and Description |
|---|
BundlesInstaller(WebconsoleClient wcc) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBundleSymbolicName(File bundleFile) |
String |
getBundleVersion(File bundleFile) |
void |
installBundles(List<File> toInstall,
boolean startBundles)
Install a list of bundles supplied as Files
|
boolean |
isInstalled(File bundleFile) |
boolean |
isInstalledWithSameVersion(File bundleFile)
Check if the installed version matches the one of the bundle (file)
|
void |
startAllBundles(List<String> symbolicNames,
int timeoutSeconds) |
void |
uninstallBundles(List<File> toUninstall)
Uninstall a list of bundles supplied as Files
|
void |
waitForBundlesInstalled(List<String> symbolicNames,
int timeoutSeconds)
Wait for all bundles specified in symbolicNames list to be installed in the
remote web console.
|
public static final String ACTIVE_STATE
public BundlesInstaller(WebconsoleClient wcc)
public boolean isInstalledWithSameVersion(File bundleFile) throws Exception
Exceptionpublic void installBundles(List<File> toInstall, boolean startBundles) throws Exception
Exceptionpublic void uninstallBundles(List<File> toUninstall) throws Exception
Exceptionpublic void waitForBundlesInstalled(List<String> symbolicNames, int timeoutSeconds) throws Exception
Exceptionpublic void startAllBundles(List<String> symbolicNames, int timeoutSeconds) throws Exception
Exceptionpublic String getBundleSymbolicName(File bundleFile) throws IOException
IOExceptionpublic String getBundleVersion(File bundleFile) throws IOException
IOExceptionCopyright © 2007–2017 The Apache Software Foundation. All rights reserved.