public interface BundleActions
Modifier and Type | Method and Description |
---|---|
boolean |
isStarted(String bundleSymName)
Determines if the bundle with the given name is started.
|
Operation<Void> |
start(String bundleSymName)
Creates a handler that will start a bundle as part of a transaction.
|
Operation<Void> |
stop(String bundleSymName)
Creates a handler that will stop a bundle as part of a transaction.
|
Operation<Void> start(String bundleSymName) throws ConfiguratorException
bundleSymName
- the name of the bundle to startConfiguratorException
- if an error occurs creating the operatorOperation<Void> stop(String bundleSymName) throws ConfiguratorException
bundleSymName
- the name of the bundle to stopConfiguratorException
- if an error occurs creating the operatorboolean isStarted(String bundleSymName) throws ConfiguratorException
bundleSymName
- the symbolic name of the bundleConfiguratorException
- if an error occurs reading stateThis work is licensed under a Creative Commons Attribution 4.0 International License.