public class FeatureStore
extends java.lang.Object
Constructor and Description |
---|
FeatureStore(CuratorComponent curator,
ObjectMapper mapper) |
Modifier and Type | Method and Description |
---|---|
com.lucidworks.apollo.common.models.FeatureSpec |
getDefaultFeature(java.lang.String featureId) |
void |
init(CuratorComponent curator) |
java.util.List<com.lucidworks.apollo.common.models.FeatureSpec> |
listDefaultFeatures() |
void |
putDefaultFeature(com.lucidworks.apollo.common.models.FeatureSpec spec) |
public FeatureStore(CuratorComponent curator, ObjectMapper mapper)
@WhenReady public void init(CuratorComponent curator)
public com.lucidworks.apollo.common.models.FeatureSpec getDefaultFeature(java.lang.String featureId) throws com.lucidworks.apollo.common.error.RESTError
com.lucidworks.apollo.common.error.RESTError
public java.util.List<com.lucidworks.apollo.common.models.FeatureSpec> listDefaultFeatures() throws com.lucidworks.apollo.common.error.RESTError
com.lucidworks.apollo.common.error.RESTError
public void putDefaultFeature(com.lucidworks.apollo.common.models.FeatureSpec spec) throws java.lang.Exception
java.lang.Exception