@Dependent public class UserExperimentalFeaturesStorageImpl extends AbstractScopedExperimentalFeaturesStorage
Modifier and Type | Field and Description |
---|---|
static String |
USER_FOLDER |
static String |
USER_FOLDER_ROOT |
defRegistry, fileSystem, ioService, sessionInfo
Constructor and Description |
---|
UserExperimentalFeaturesStorageImpl(SessionInfo sessionInfo,
IOService ioService,
ExperimentalFeatureDefRegistry defRegistry) |
Modifier and Type | Method and Description |
---|---|
static String |
encode(String folderName) |
Collection<ExperimentalFeatureImpl> |
getFeatures() |
ExperimentalStorageScope |
getScope() |
String |
getStoragePath() |
protected Collection<ExperimentalFeatureDefinition> |
getSupportedDefinitions() |
void |
init(FileSystem fileSystem) |
protected org.slf4j.Logger |
log() |
doStoreFeatures, maybeNotifyFeatureUpdate, readFeatures, store, storeFeatures
public static final String USER_FOLDER_ROOT
public static final String USER_FOLDER
@Inject public UserExperimentalFeaturesStorageImpl(SessionInfo sessionInfo, @Named(value="configIO") IOService ioService, ExperimentalFeatureDefRegistry defRegistry)
public void init(FileSystem fileSystem)
init
in interface ScopedExperimentalFeaturesStorage
init
in class AbstractScopedExperimentalFeaturesStorage
protected Collection<ExperimentalFeatureDefinition> getSupportedDefinitions()
getSupportedDefinitions
in class AbstractScopedExperimentalFeaturesStorage
public Collection<ExperimentalFeatureImpl> getFeatures()
public String getStoragePath()
getStoragePath
in class AbstractScopedExperimentalFeaturesStorage
protected org.slf4j.Logger log()
log
in class AbstractScopedExperimentalFeaturesStorage
public ExperimentalStorageScope getScope()
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.