Class CentralConfigsRepository
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.configsRepo.CentralConfigsRepository
-
public class CentralConfigsRepository extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONFIGURATION_UPDATEDstatic StringJETBRAINS_GITstatic StringKEY_FILE_NAMEstatic StringSTATE_CHANGED
-
Constructor Summary
Constructors Constructor Description CentralConfigsRepository(ExtensionsProvider extensionProvider, VcsRegistryEx vcsContextLocator, ServerPaths serverPaths, ExecutorServices executorServices, EventDispatcher<BuildServerListener> eventDispatcher, ServerResponsibility serverResponsibility, MultiNodesEvents multiNodesEvents)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfileDeleted(String path, ConfigAction cause)voidfilePersisted(String path, InputStream data, ConfigAction cause)CentralRepositoryConfigurationgetCurrentConfiguration()CurrentStategetCurrentState()VcsRootgetVcsRoot()booleanisEnabled()voidonVersionedSettingsUpdate(List<String> removedProjectsPaths, List<String> changedPaths, ConfigCauseInfo configCauseInfo)voidprojectRemoved(String absoluteRemovedProjectDirPath, ConfigAction cause)voidsetRepositoryInitializer(RepositoryInitializer repositoryInitializer)voidsettingsFileDeleted(String path, User user)voidsettingsFilePersisted(String path, ByteArrayInputStream data, User user)voidtaskFinished(PersistTaskEx task, User user, String description)voidtaskStarted(PersistTaskEx task)voidupdateConfiguration(CentralRepositoryConfiguration configuration)
-
-
-
Field Detail
-
CONFIGURATION_UPDATED
public static final String CONFIGURATION_UPDATED
- See Also:
- Constant Field Values
-
STATE_CHANGED
public static final String STATE_CHANGED
- See Also:
- Constant Field Values
-
JETBRAINS_GIT
public static final String JETBRAINS_GIT
- See Also:
- Constant Field Values
-
KEY_FILE_NAME
public static final String KEY_FILE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CentralConfigsRepository
public CentralConfigsRepository(@NotNull ExtensionsProvider extensionProvider, @NotNull VcsRegistryEx vcsContextLocator, @NotNull ServerPaths serverPaths, @NotNull ExecutorServices executorServices, @NotNull EventDispatcher<BuildServerListener> eventDispatcher, @NotNull ServerResponsibility serverResponsibility, @NotNull MultiNodesEvents multiNodesEvents)
-
-
Method Detail
-
getCurrentConfiguration
public CentralRepositoryConfiguration getCurrentConfiguration()
-
updateConfiguration
public void updateConfiguration(CentralRepositoryConfiguration configuration) throws IOException
- Throws:
IOException
-
getVcsRoot
@Nullable public VcsRoot getVcsRoot()
-
filePersisted
public void filePersisted(@NotNull String path, @NotNull InputStream data, @NotNull ConfigAction cause)
-
getCurrentState
@Nullable public CurrentState getCurrentState()
-
onVersionedSettingsUpdate
public void onVersionedSettingsUpdate(@NotNull List<String> removedProjectsPaths, @NotNull List<String> changedPaths, @NotNull ConfigCauseInfo configCauseInfo)
-
fileDeleted
public void fileDeleted(@NotNull String path, @NotNull ConfigAction cause)
-
isEnabled
public boolean isEnabled()
-
projectRemoved
public void projectRemoved(@NotNull String absoluteRemovedProjectDirPath, @NotNull ConfigAction cause)
-
settingsFilePersisted
public void settingsFilePersisted(@NotNull String path, @NotNull ByteArrayInputStream data, @Nullable User user)
-
setRepositoryInitializer
public void setRepositoryInitializer(RepositoryInitializer repositoryInitializer)
-
taskStarted
public void taskStarted(PersistTaskEx task)
-
taskFinished
public void taskFinished(@NotNull PersistTaskEx task, @Nullable User user, @NotNull String description)
-
-