public static class BundleOperation.Actions extends Object implements BundleActions
| Constructor and Description |
|---|
Actions() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isStarted(String bundleSymName)
Determines if the bundle with the given name is started.
|
BundleOperation |
start(String bundleSymName)
Creates a handler that will start a bundle as part of a transaction.
|
BundleOperation |
stop(String bundleSymName)
Creates a handler that will stop a bundle as part of a transaction.
|
public BundleOperation start(String bundleSymName) throws ConfiguratorException
BundleActionsstart in interface BundleActionsbundleSymName - the name of the bundle to startConfiguratorException - if an error occurs creating the operatorpublic BundleOperation stop(String bundleSymName) throws ConfiguratorException
BundleActionsstop in interface BundleActionsbundleSymName - the name of the bundle to stopConfiguratorException - if an error occurs creating the operatorpublic boolean isStarted(String bundleSymName) throws ConfiguratorException
BundleActionsisStarted in interface BundleActionsbundleSymName - the symbolic name of the bundleConfiguratorException - if an error occurs reading stateThis work is licensed under a Creative Commons Attribution 4.0 International License.