@ApplicationScoped
public class MigrationConfigurationServiceImpl
extends org.guvnor.structure.backend.config.ConfigurationServiceImpl
implements org.guvnor.structure.server.config.ConfigurationService, org.guvnor.structure.backend.config.watch.AsyncWatchServiceCallback
changedEvent, configGroupsByTypeWithNamespace, configGroupsByTypeWithoutNamespace, configUpdates, executor, executorService, fs, identity, INVALID_FILENAME_CHARS, ioService, jobs, localLastModifiedValue, marshaller, MONITOR_DISABLED, repoChangedEvent, spaceChangedEvent, systemRepository, watchService
Constructor and Description |
---|
MigrationConfigurationServiceImpl() |
MigrationConfigurationServiceImpl(org.guvnor.structure.repositories.Repository systemRepository,
org.guvnor.structure.backend.config.ConfigGroupMarshaller marshaller,
org.jboss.errai.security.shared.api.identity.User identity,
org.uberfire.io.IOService ioService,
javax.enterprise.event.Event<org.guvnor.structure.config.SystemRepositoryChangedEvent> repoChangedEvent,
javax.enterprise.event.Event<org.guvnor.structure.config.SystemRepositoryChangedEvent> orgUnitChangedEvent,
javax.enterprise.event.Event<org.guvnor.structure.config.SystemRepositoryChangedEvent> changedEvent,
org.uberfire.java.nio.file.FileSystem fs) |
Modifier and Type | Method and Description |
---|---|
boolean |
addConfiguration(org.guvnor.structure.server.config.ConfigGroup configGroup) |
List<org.guvnor.structure.server.config.ConfigGroup> |
getConfiguration(org.guvnor.structure.server.config.ConfigType configType) |
List<org.guvnor.structure.server.config.ConfigGroup> |
getConfiguration(org.guvnor.structure.server.config.ConfigType type,
String namespace) |
Map<String,List<org.guvnor.structure.server.config.ConfigGroup>> |
getConfigurationByNamespace(org.guvnor.structure.server.config.ConfigType type) |
boolean |
removeConfiguration(org.guvnor.structure.server.config.ConfigGroup configGroup) |
boolean |
updateConfiguration(org.guvnor.structure.server.config.ConfigGroup configGroup) |
callback, cleanUpSystemRepository, endBatch, getIdentityName, getLastModified, getWatchServiceExecutor, setup, shutdown, startBatch, updateLastModified
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public MigrationConfigurationServiceImpl()
@Inject public MigrationConfigurationServiceImpl(@Named(value="system") org.guvnor.structure.repositories.Repository systemRepository, org.guvnor.structure.backend.config.ConfigGroupMarshaller marshaller, org.jboss.errai.security.shared.api.identity.User identity, @Named(value="configIO") org.uberfire.io.IOService ioService, javax.enterprise.event.Event<org.guvnor.structure.config.SystemRepositoryChangedEvent> repoChangedEvent, javax.enterprise.event.Event<org.guvnor.structure.config.SystemRepositoryChangedEvent> orgUnitChangedEvent, javax.enterprise.event.Event<org.guvnor.structure.config.SystemRepositoryChangedEvent> changedEvent, @Named(value="systemFS") org.uberfire.java.nio.file.FileSystem fs)
public List<org.guvnor.structure.server.config.ConfigGroup> getConfiguration(org.guvnor.structure.server.config.ConfigType configType)
getConfiguration
in interface org.guvnor.structure.server.config.ConfigurationService
getConfiguration
in class org.guvnor.structure.backend.config.ConfigurationServiceImpl
public List<org.guvnor.structure.server.config.ConfigGroup> getConfiguration(org.guvnor.structure.server.config.ConfigType type, String namespace)
getConfiguration
in interface org.guvnor.structure.server.config.ConfigurationService
getConfiguration
in class org.guvnor.structure.backend.config.ConfigurationServiceImpl
public Map<String,List<org.guvnor.structure.server.config.ConfigGroup>> getConfigurationByNamespace(org.guvnor.structure.server.config.ConfigType type)
getConfigurationByNamespace
in interface org.guvnor.structure.server.config.ConfigurationService
getConfigurationByNamespace
in class org.guvnor.structure.backend.config.ConfigurationServiceImpl
public boolean addConfiguration(org.guvnor.structure.server.config.ConfigGroup configGroup)
addConfiguration
in interface org.guvnor.structure.server.config.ConfigurationService
addConfiguration
in class org.guvnor.structure.backend.config.ConfigurationServiceImpl
public boolean updateConfiguration(org.guvnor.structure.server.config.ConfigGroup configGroup)
updateConfiguration
in interface org.guvnor.structure.server.config.ConfigurationService
updateConfiguration
in class org.guvnor.structure.backend.config.ConfigurationServiceImpl
public boolean removeConfiguration(org.guvnor.structure.server.config.ConfigGroup configGroup)
removeConfiguration
in interface org.guvnor.structure.server.config.ConfigurationService
removeConfiguration
in class org.guvnor.structure.backend.config.ConfigurationServiceImpl
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.