public static class FeatureOperation.Actions extends Object implements FeatureActions
Constructor and Description |
---|
Actions() |
Modifier and Type | Method and Description |
---|---|
boolean |
isFeatureStarted(String featureName)
Determines if the feature with the given name is started.
|
FeatureOperation |
start(String featureName)
Creates a handler that will start a feature as part of a transaction.
|
FeatureOperation |
stop(String featureName)
Creates a handler that will stop a feature as part of a transaction.
|
public FeatureOperation start(String featureName) throws ConfiguratorException
FeatureActions
start
in interface FeatureActions
featureName
- the name of the feature to startConfiguratorException
- if an error occurs creating the operatorpublic FeatureOperation stop(String featureName) throws ConfiguratorException
FeatureActions
stop
in interface FeatureActions
featureName
- the name of the feature to stopConfiguratorException
- if an error occurs creating the operatorpublic boolean isFeatureStarted(String featureName) throws ConfiguratorException
FeatureActions
isFeatureStarted
in interface FeatureActions
featureName
- the name of the featureConfiguratorException
- if an error occurs reading stateThis work is licensed under a Creative Commons Attribution 4.0 International License.