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
Exception
public void installBundles(List<File> toInstall, boolean startBundles) throws Exception
Exception
public void uninstallBundles(List<File> toUninstall) throws Exception
Exception
public void waitForBundlesInstalled(List<String> symbolicNames, int timeoutSeconds) throws Exception
Exception
public void startAllBundles(List<String> symbolicNames, int timeoutSeconds) throws Exception
Exception
public String getBundleSymbolicName(File bundleFile) throws IOException
IOException
public String getBundleVersion(File bundleFile) throws IOException
IOException
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.