| Package | Description |
|---|---|
| org.ff4j |
Main class to work with and administrate Features
|
| org.ff4j.conf |
Provides core feature classes
|
| org.ff4j.core |
Provides core feature classes
|
| org.ff4j.property |
Describe properties
|
| org.ff4j.property.list |
Multivalued properties as List
|
| org.ff4j.property.map | |
| org.ff4j.property.set | |
| org.ff4j.property.store |
Provide stores to persist properties (default is in InMemory)
|
| org.ff4j.utils |
Provide utilities classes
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,AbstractProperty<?>> |
FF4j.getProperties()
Return all properties from store.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,AbstractProperty<?>> |
XmlConfiguration.getProperties()
Getter accessor for attribute 'properties'.
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
XmlParser.exportAll(Map<String,Feature> mapOfFeatures,
Map<String,AbstractProperty<?>> mapOfProperties)
|
InputStream |
XmlParser.exportProperties(Map<String,AbstractProperty<?>> mapOfProperties)
Create XML output stream from a map of
Property. |
void |
XmlConfiguration.setProperties(Map<String,AbstractProperty<?>> properties)
Setter accessor for attribute 'properties'.
|
| Modifier and Type | Method and Description |
|---|---|
<T> AbstractProperty<T> |
Feature.getProperty(String propId)
Accessor to read a custom property from Feature.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,AbstractProperty<?>> |
Feature.getCustomProperties()
Getter accessor for attribute 'customProperties'.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Feature.setCustomProperties(Map<String,AbstractProperty<?>> customProperties)
Setter accessor for attribute 'customProperties'.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPropertyMultiValued<T,C extends Collection<T>>
Super class to work with multivalued properties.
|
class |
Property
Default implementation of
AbstractProperty as Simple string property. |
class |
PropertyBoolean
Boolean Property.
|
class |
PropertyCalendar |
class |
PropertyDate |
class |
PropertyDouble
Représentation of a property double
|
class |
PropertyInt
Implementation of a property of type INT.
|
class |
PropertyLogLevel
Custom property to code a logLevel.
|
| Modifier and Type | Method and Description |
|---|---|
static AbstractProperty<?> |
PropertyFactory.createProperty(String pName,
String pType,
String pValue)
Factory method to create property.
|
static AbstractProperty<?> |
PropertyFactory.createProperty(String pName,
String pType,
String pValue,
String desc,
String fixedValues)
Factory method to create property.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPropertyList<T>
SuperClass for property as lists.
|
class |
PropertyList
Specialization of
AbstractPropertyList using Double. |
class |
PropertyListBoolean
Specialization of
AbstractPropertyList using Double. |
class |
PropertyListCalendar
Specialization of
AbstractPropertyList using Double. |
class |
PropertyListDate
Specialization of
AbstractPropertyList using Double. |
class |
PropertyListDouble
Specialization of
AbstractPropertyList using Double. |
class |
PropertyListInt
Specialization of
AbstractPropertyList using Integer. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPropertyMap<T,M extends Map<String,? extends T>> |
| Modifier and Type | Class and Description |
|---|---|
class |
PropertySet<T>
SuperClass for property as lists.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractProperty<?> |
JdbcPropertyMapper.map(ResultSet rs)
Expect to convert a JDBC Result to Property.
|
AbstractProperty<?> |
PropertyStore.read(String name)
Read property value.
|
AbstractProperty<?> |
JdbcPropertyStore.read(String name)
Read property value.
|
AbstractProperty<?> |
InMemoryPropertyStore.read(String name)
Read property value.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,AbstractProperty<?>> |
AbstractPropertyStore.importPropertiesFromXmlFile(String xmlConfFile)
Initialize store from XML Configuration File.
|
Map<String,AbstractProperty<?>> |
PropertyStore.readAllProperties()
Retrieve all properties from store.
|
Map<String,AbstractProperty<?>> |
JdbcPropertyStore.readAllProperties()
Retrieve all properties from store.
|
Map<String,AbstractProperty<?>> |
InMemoryPropertyStore.readAllProperties()
Retrieve all properties from store.
|
| Modifier and Type | Method and Description |
|---|---|
<T> void |
PropertyStore.create(AbstractProperty<T> value)
Create new property within store.
|
<T> void |
JdbcPropertyStore.create(AbstractProperty<T> ap)
Create new property within store.
|
<T> void |
InMemoryPropertyStore.create(AbstractProperty<T> value)
Create new property within store.
|
<T> void |
PropertyStore.update(AbstractProperty<T> fixedValue)
Update existing property.
|
<T> void |
JdbcPropertyStore.update(AbstractProperty<T> prop)
Update existing property.
|
<T> void |
InMemoryPropertyStore.update(AbstractProperty<T> newValue)
Update existing property.
|
| Modifier and Type | Method and Description |
|---|---|
void |
InMemoryPropertyStore.setProperties(Map<String,AbstractProperty<?>> properties)
Setter accessor for attribute 'properties'.
|
| Constructor and Description |
|---|
InMemoryPropertyStore(Map<String,AbstractProperty<?>> maps)
Constructor with full set of feature.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
JsonUtils.customPropertiesAsJson(Map<String,? extends AbstractProperty<?>> customProperties)
Serialized custom properties.
|
Copyright © 2013–2015 FF4J. All rights reserved.