public interface StateRepository
| Modifier and Type | Method and Description |
|---|---|
FeatureState |
getFeatureState(Feature feature)
Get the persisted state of a feature from the repository.
|
void |
setFeatureState(FeatureState featureState)
Persist the supplied feature state.
|
FeatureState getFeatureState(Feature feature)
null.feature - The feature to read the state fornullvoid setFeatureState(FeatureState featureState)
getFeatureState(Feature) return the same state as persisted using this method.featureState - The feature state to persistUnsupportedOperationException - if this state repository does not support updatesCopyright © 2018. All Rights Reserved.