Class Overview
Non cached implementation of feature store
Public Constructors
Public Methods
public
void
create
(String featureKey, String userKey)
Creates an feature with the properties of the given feature.
Parameters
featureKey
| the name of the feature to create |
userKey
| the user who the feature is for. null if site feature |
public
void
delete
(String featureKey, String userKey)
Permanently removes the feature from the system.
Parameters
featureKey
| the feature's id, must not be null. |
userKey
| the user who the feature is for. null if site feature |
public
Set<String>
getSiteFeatures
()
Returns a list of all enabled site features
Returns
- the enabled site features or an empty set
public
Set<String>
getUserFeatures
(String userKey)
Returns a list of all enabled features for a user
Returns
- the enabled features for a user or an empty set