@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, updateLastModifiedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic 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.ConfigurationServicegetConfiguration in class org.guvnor.structure.backend.config.ConfigurationServiceImplpublic 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.ConfigurationServicegetConfiguration in class org.guvnor.structure.backend.config.ConfigurationServiceImplpublic 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.ConfigurationServicegetConfigurationByNamespace in class org.guvnor.structure.backend.config.ConfigurationServiceImplpublic boolean addConfiguration(org.guvnor.structure.server.config.ConfigGroup configGroup)
addConfiguration in interface org.guvnor.structure.server.config.ConfigurationServiceaddConfiguration in class org.guvnor.structure.backend.config.ConfigurationServiceImplpublic boolean updateConfiguration(org.guvnor.structure.server.config.ConfigGroup configGroup)
updateConfiguration in interface org.guvnor.structure.server.config.ConfigurationServiceupdateConfiguration in class org.guvnor.structure.backend.config.ConfigurationServiceImplpublic boolean removeConfiguration(org.guvnor.structure.server.config.ConfigGroup configGroup)
removeConfiguration in interface org.guvnor.structure.server.config.ConfigurationServiceremoveConfiguration in class org.guvnor.structure.backend.config.ConfigurationServiceImplCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.