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 String
CONFIGURATION_UPDATED
static String
JETBRAINS_GIT
static String
KEY_FILE_NAME
static String
STATE_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 void
fileDeleted(String path, ConfigAction cause)
void
filePersisted(String path, InputStream data, ConfigAction cause)
CentralRepositoryConfiguration
getCurrentConfiguration()
CurrentState
getCurrentState()
VcsRoot
getVcsRoot()
boolean
isEnabled()
void
onVersionedSettingsUpdate(List<String> removedProjectsPaths, List<String> changedPaths, ConfigCauseInfo configCauseInfo)
void
projectRemoved(String absoluteRemovedProjectDirPath, ConfigAction cause)
void
setRepositoryInitializer(RepositoryInitializer repositoryInitializer)
void
settingsFileDeleted(String path, User user)
void
settingsFilePersisted(String path, ByteArrayInputStream data, User user)
void
taskFinished(PersistTaskEx task, User user, String description)
void
taskStarted(PersistTaskEx task)
void
updateConfiguration(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)
-
-