Class UserExperimentalFeaturesStorageImpl
- java.lang.Object
-
- org.uberfire.experimental.service.storage.scoped.impl.AbstractScopedExperimentalFeaturesStorage
-
- org.uberfire.experimental.service.storage.scoped.impl.UserExperimentalFeaturesStorageImpl
-
- All Implemented Interfaces:
ExperimentalFeaturesStorage,ScopedExperimentalFeaturesStorage
@Dependent public class UserExperimentalFeaturesStorageImpl extends AbstractScopedExperimentalFeaturesStorage
-
-
Field Summary
Fields Modifier and Type Field Description static StringUSER_FOLDERstatic StringUSER_FOLDER_ROOT-
Fields inherited from class org.uberfire.experimental.service.storage.scoped.impl.AbstractScopedExperimentalFeaturesStorage
defRegistry, fileSystem, ioService, sessionInfo
-
-
Constructor Summary
Constructors Constructor Description UserExperimentalFeaturesStorageImpl(org.uberfire.rpc.SessionInfo sessionInfo, org.uberfire.io.IOService ioService, org.uberfire.experimental.service.definition.ExperimentalFeatureDefRegistry defRegistry)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Stringencode(String folderName)Collection<org.uberfire.experimental.service.registry.impl.ExperimentalFeatureImpl>getFeatures()ExperimentalStorageScopegetScope()StringgetStoragePath()protected Collection<org.uberfire.experimental.service.definition.ExperimentalFeatureDefinition>getSupportedDefinitions()voidinit(org.uberfire.java.nio.file.FileSystem fileSystem)protected org.slf4j.Loggerlog()-
Methods inherited from class org.uberfire.experimental.service.storage.scoped.impl.AbstractScopedExperimentalFeaturesStorage
doStoreFeatures, maybeNotifyFeatureUpdate, readFeatures, store, storeFeatures
-
-
-
-
Field Detail
-
USER_FOLDER_ROOT
public static final String USER_FOLDER_ROOT
- See Also:
- Constant Field Values
-
USER_FOLDER
public static final String USER_FOLDER
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(org.uberfire.java.nio.file.FileSystem fileSystem)
- Specified by:
initin interfaceScopedExperimentalFeaturesStorage- Overrides:
initin classAbstractScopedExperimentalFeaturesStorage
-
getSupportedDefinitions
protected Collection<org.uberfire.experimental.service.definition.ExperimentalFeatureDefinition> getSupportedDefinitions()
- Specified by:
getSupportedDefinitionsin classAbstractScopedExperimentalFeaturesStorage
-
getFeatures
public Collection<org.uberfire.experimental.service.registry.impl.ExperimentalFeatureImpl> getFeatures()
-
getStoragePath
public String getStoragePath()
- Specified by:
getStoragePathin classAbstractScopedExperimentalFeaturesStorage
-
log
protected org.slf4j.Logger log()
- Specified by:
login classAbstractScopedExperimentalFeaturesStorage
-
getScope
public ExperimentalStorageScope getScope()
-
-