public class NamedFeatureStoreFactory extends Object
NamedFeatureStore
.Modifier and Type | Method and Description |
---|---|
static NamedFeatureStoreFactory |
bothNameAndParameters()
The custom-names of the features are derived from both their name and their parameters.
|
<T extends FeatureInput> |
createNamedFeatureList(List<NamedBean<FeatureListProvider<T>>> namedFeatures)
Create a
NamedFeatureStore from a list of beans. |
static NamedFeatureStoreFactory |
parametersOnly()
The custom-names of the features are derived only from their parameters, but not their name.
|
public static NamedFeatureStoreFactory parametersOnly()
public static NamedFeatureStoreFactory bothNameAndParameters()
public <T extends FeatureInput> NamedFeatureStore<T> createNamedFeatureList(List<NamedBean<FeatureListProvider<T>>> namedFeatures) throws ProvisionFailedException
NamedFeatureStore
from a list of beans.T
- feature input-type.namedFeatures
- the beans that provide lists of features.ProvisionFailedException
- if any feature-list cannot be created from the bean.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.