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