| Package | Description |
|---|---|
| org.ff4j |
Main class to work with and administrate Features
|
| org.ff4j.cache |
Provide a cache abstraction to limit overhead of looking for features in external storages.
|
| org.ff4j.conf |
Provides core feature classes
|
| org.ff4j.core |
Provides core feature classes
|
| org.ff4j.store |
Provide stores to persist features (default is in InMemory)
|
| Modifier and Type | Method and Description |
|---|---|
Feature |
FF4j.getFeature(String featureID)
The feature will be create automatically if the boolea, autocreate is enabled.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Feature> |
FF4j.getFeatures()
Read Features from store.
|
| Modifier and Type | Method and Description |
|---|---|
FF4j |
FF4j.create(Feature fp)
Create new Feature.
|
boolean |
FF4j.isAllowed(Feature featureName)
Load SecurityProvider roles (e.g : SpringSecurity GrantedAuthorities)
|
| Modifier and Type | Method and Description |
|---|---|
Feature |
InMemoryCacheManager.get(String featureId)
Return feature stored in cache.
|
Feature |
FeatureCacheManager.get(String featureId)
Return feature stored in cache.
|
Feature |
FeatureStoreCacheProxy.read(String featureUid)
Create Feature is does not exist and enable it.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Feature> |
FeatureStoreCacheProxy.readAll()
Access to all features to get information.
|
Map<String,Feature> |
FeatureStoreCacheProxy.readGroup(String groupName)
Read all features within target group.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FeatureStoreCacheProxy.create(Feature fp)
Create flipPoint in storage (with roles).
|
void |
InMemoryCacheManager.put(Feature feat)
Add feature to cache.
|
void |
FeatureCacheManager.put(Feature feat)
Add feature to cache.
|
void |
FeatureStoreCacheProxy.update(Feature fp)
Update FlipPoint within store.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Feature> |
XmlConfiguration.getFeatures()
Getter accessor for attribute 'features'.
|
Map<String,Feature> |
XmlParser.parseFeaturesTag(Element featuresTag)
Load map of
Feature from an inpustream (containing xml text). |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
XmlParser.exportAll(Map<String,Feature> mapOfFeatures,
Map<String,AbstractProperty<?>> mapOfProperties)
|
InputStream |
XmlParser.exportFeatures(Map<String,Feature> mapOfFeatures)
Create XML output stream from a map of
Feature. |
void |
XmlConfiguration.setFeatures(Map<String,Feature> features)
Setter accessor for attribute 'features'.
|
| Modifier and Type | Method and Description |
|---|---|
Feature |
FeatureStore.read(String featureUid)
Create Feature is does not exist and enable it.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Feature> |
FeatureStore.readAll()
Access to all features to get information.
|
Map<String,Feature> |
FeatureStore.readGroup(String groupName)
Read all features within target group.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FeatureStore.create(Feature fp)
Create flipPoint in storage (with roles).
|
void |
FeatureStore.update(Feature fp)
Update FlipPoint within store.
|
| Modifier and Type | Method and Description |
|---|---|
Feature |
JdbcFeatureMapper.mapFeature(ResultSet rs)
Map feature result to bean.
|
Feature |
JdbcFeatureStore.read(String uid)
Create Feature is does not exist and enable it.
|
Feature |
InMemoryFeatureStore.read(String uid)
Create Feature is does not exist and enable it.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Feature> |
AbstractFeatureStore.importFeaturesFromXmlFile(String xmlConfFile)
Initialize store from XML Configuration File.
|
Map<String,Feature> |
JdbcFeatureStore.readAll()
Access to all features to get information.
|
Map<String,Feature> |
InMemoryFeatureStore.readAll()
Access to all features to get information.
|
Map<String,Feature> |
JdbcFeatureStore.readGroup(String groupName)
Read all features within target group.
|
Map<String,Feature> |
InMemoryFeatureStore.readGroup(String groupName)
Read all features within target group.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JdbcFeatureStore.create(Feature fp)
Create flipPoint in storage (with roles).
|
void |
InMemoryFeatureStore.create(Feature fp)
Create flipPoint in storage (with roles).
|
void |
JdbcFeatureStore.update(Feature fp)
Update FlipPoint within store.
|
void |
InMemoryFeatureStore.update(Feature fp)
Update FlipPoint within store.
|
| Constructor and Description |
|---|
InMemoryFeatureStore(Map<String,Feature> maps)
Constructor with full set of feature.
|
Copyright © 2013–2015 FF4J. All rights reserved.